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

# Borrow / Lend State

Streams the same payload as [`borrowLendState`](/api-reference/info-endpoints/borrow-lend-state). No user address is required.

## Subscribe

```json theme={null}
{ "method": "subscribe", "subscription": { "type": "borrowLendState" } }
```

## Message

```json theme={null}
{
  "channel": "borrowLendState",
  "data": {
    "isSnapshot": true,
    "metadata": {
      "earn": {
        "apy": 105,
        "interestApr": 105,
        "activeAssets": "800000.00000000",
        "pendingAssets": "50000.00000000",
        "capacityAssets": "800000.00000000",
        "borrowApr": 525,
        "tvl": "1000000.00",
        "available": "640000.00",
        "utilization": 0.2,
        "nextAccrualTimestamp": 1701234567890
      }
    },
    "updatedAt": 1701234567890
  }
}
```

The initial message has `isSnapshot: true`. Changed payloads are published on the three-second timer with `isSnapshot: false`; each message replaces that channel's complete payload. An omitted `earnPusd` block clears previous pUSD pool data. Channels update independently and do not represent one atomic cross-market snapshot.

## Unsubscribe

```json theme={null}
{ "method": "unsubscribe", "subscription": { "type": "borrowLendState" } }
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.