Interest Rate

market:interest_rate

Live interest rate updates per trading pair. All maturities publish to a single channel with a maturity tag for server-side filtering.

Channel: market:interest_rate:{pair} Example: market:interest_rate:ETH_USDC

Payload

Payload shape:

{
  "pair": "ETH_USDC",
  "maturity": "11MAR26",
  "sid": "INTEREST-ETH-11MAR26",
  "value": "0.05",
  "timestamp_ms": 1704067200100
}
FieldTypeDescription
pairstringTrading pair (e.g. ETH_USDC)
maturitystringExpiry label (e.g. 11MAR26, 20240315)
sidstringSource identifier for the rate
valuestringInterest rate as decimal string (full precision)
timestamp_msintegerServer emission timestamp in milliseconds

Tag Filtering

Each publication carries a maturity tag (e.g. 11MAR26) for server-side filtering.

Subscribe — Protobuf SDK

All maturities

Subscribe with since: {} to receive the last known value on subscribe.

import { Centrifuge } from "centrifuge/build/protobuf";

const client = new Centrifuge("wss://staging.kyan.sh/stream/websocket?format=protobuf");
const sub = client.newSubscription("market:interest_rate:ETH_USDC", { since: {} });

sub.on("publication", (ctx) => {
  const data = ctx.data instanceof Uint8Array
    ? JSON.parse(new TextDecoder().decode(ctx.data))
    : ctx.data;

  const { pair, maturity, sid, value, timestamp_ms } = data;
  // value is a string — parse to number or Decimal as needed
});

sub.subscribe();
client.connect();

Filtered: specific maturity

const sub = client.newSubscription("market:interest_rate:ETH_USDC", {
  since: {},
  tagsFilter: { key: "maturity", cmp: "eq", val: "11MAR26" }
});

Recovery

Subscribe with since: {} to receive the last known rate on subscribe. On reconnect, the SDK automatically recovers.

Related channels

Channels providing related data.

ChannelWhy
SVI SurfaceVol surface parameters. Interest rate and SVI together define theoretical option prices: rate gives the forward, SVI gives the vol.
Index PriceSpot component of the forward. Forward = spot * e^(r*T).
Options BBOOptions top-of-book. mark_price and Greeks incorporate the interest rate.
Options L2Full options depth. Theoretical values at each level depend on the forward, which incorporates this rate.