> ## Documentation Index
> Fetch the complete documentation index at: https://docs.b3os.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Plume Position Summary

Read the current Morpho leverage position on Plume Network (chain 98866). Returns collateral, debt, LTV, health factor, and effective leverage. Ideal for: post-loop summary, position monitoring, risk dashboards, DeFi analytics.

![Plume Position Summary logo](https://cdn.b3.fun/b3os-icons/plume.svg)
Catalog action Blockchain Data

Read the current Morpho leverage position on Plume Network (chain 98866). Returns collateral, debt, LTV, health factor, and effective leverage. Ideal for: post-loop summary, position monitoring, risk dashboards, DeFi analytics.


## At a Glance

| Field | Value |
| --- | --- |
| Action ID | `plume-position-summary` |
| Category | Blockchain Data |
| Connector | Not required |
| Requires gas | No |
| Funds movement | None declared |
| Tags | `defi`, `plume`, `leverage`, `lending`, `morpho`, `position`, `read` |

## Payload Schema

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `walletAddress` | `string` | Yes | Wallet address to query the Morpho leverage position for. |

## Result Schema

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `walletAddress` | `string` | Yes | The wallet address queried. |
| `collateral` | `string` | Yes | Collateral \(nTBILL\) in raw units. |
| `collateralValue` | `string` | No | Collateral value in pUSD terms \(human-readable\). |
| `debt` | `string` | Yes | Outstanding debt in pUSD raw units. |
| `ltv` | `string` | Yes | Current LTV as a decimal string \(e.g., '0.8567'\). |
| `healthFactor` | `string` | Yes | Health factor = LLTV / current LTV. Values below 1.0 are at liquidation risk. |
| `effectiveLeverage` | `string` | Yes | Effective leverage = collateralValue / \(collateralValue - debt\). E.g., '5.2x'. |
| `oraclePrice` | `string` | No | Current oracle price at ORACLE_PRICE_SCALE \(10^36\). |
| `exchangeRate` | `string` | No | Current Nest vault pUSD/nTBILL exchange rate at WAD scale. |
| `supplyShares` | `string` | No | Raw supplyShares from Morpho position. |
| `borrowShares` | `string` | No | Raw borrowShares from Morpho position. |

## Examples

**Workflow node**

```json
{
  "type": "plume-position-summary",
  "payload": {
    "walletAddress": "0x0000000000000000000000000000000000000000"
  },
  "children": []
}
```
  **Test with API**

```bash
curl -X POST "https://api.b3os.org/v1/actions/plume-position-summary/test" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "inputs": {
    "walletAddress": "0x0000000000000000000000000000000000000000"
  }
}'
```

**Use expressions for dynamic values**

Payload fields can use workflow expressions such as `{{$trigger.body.amount}}`, `{{$nodes.fetch.result.price}}`, and `{{$props.asset}}` when the value should come from a trigger, prior node, or reusable workflow prop.