# activeAssetCtx stream

> HyperCore private-preview documentation.

> For the complete documentation index, see [llms.txt](/docs/llms.txt).

<Callout intent="info">
  This API is in private preview. Target September 2026; timing is subject to change.
</Callout>


# activeAssetCtx stream

## Subscribe
> The values below illustrate the intended request shape.

```json
{
  "method": "subscribe",
  "subscription": {
    "type": "activeAssetCtx",
    "coins": [
      "BTC"
    ]
  }
}
```

## Acknowledgement
```json
{
  "channel": "subscriptionResponse",
  "data": {
    "subscriptionId": "sub_01",
    "type": "activeAssetCtx"
  }
}
```

## Event envelope

```json
{
  "channel": "activeAssetCtx",
  "subscriptionId": "sub_01",
  "blockHeight": 123456,
  "blockTime": 1780000000000,
  "cursor": "<opaque cursor>",
  "data": {
    "coin": "BTC",
    "markPrice": "100000.0",
    "oraclePrice": "99995.0",
    "fundingRate": "0.00001",
    "openInterest": "25000000"
  }
}
```

## Payload fields

| Field | Type | Description |
| --- | --- | --- |
| coin | string | Market symbol for the selected asset. |
| markPrice | string | Current mark price for the asset. |
| oraclePrice | string | Current oracle price for the asset. |
| fundingRate | string | Current funding rate for the perpetual market. |
| openInterest | string | Current aggregate open interest for the market. |
## Unsubscribe
```json
{
  "method": "unsubscribe",
  "subscription": {
    "type": "activeAssetCtx",
    "coins": [
      "BTC"
    ]
  }
}
```
## Resume

To resume a stream, supply `cursor` in the subscription object. The cursor is opaque: clients store and return it unmodified, and its format may change.