{
"type": "subscribe",
"channel": "account",
"id": "0xAbCd...1234"
}{
"type": "subscribed",
"channel": "funding",
"id": "0xAbCd...1234",
"contents": {
"isSnapshot": true,
"fundingPayments": [
{
"marketId": 1,
"marketDisplayName": "BTC-USD",
"fundingRate": "0.00001234",
"size": "0.5",
"payment": "-3.21",
"time": 1700000000000000
},
{
"marketId": 2,
"marketDisplayName": "ETH-USD",
"fundingRate": "-0.00000567",
"size": "-2.0",
"payment": "1.05",
"time": 1700000000000000
}
]
}
}{
"type": "channel_data",
"channel": "funding",
"id": "0xAbCd...1234",
"contents": {
"marketId": 1,
"marketDisplayName": "BTC-USD",
"fundingRate": "0.00001234",
"size": "0.5",
"payment": "-3.21",
"time": 1700003600000000
}
}Funding
Endpoint:
wss://api.arcus.xyz/v1/ws— one socket multiplexes every channel and RPC request. Click Connect, then send the example subscribe message below to start receiving data.
Funding payment stream for an account. Snapshot on subscribe contains up to 100 most recent funding payments from the last 30 days; for older history query REST GET /v1/funding with an explicit from. Live updates deliver one event per (market, account) at each funding payment time.
Sign convention on payment: positive = received, negative = paid. time is the Unix-microsecond funding payment time.
{
"type": "subscribe",
"channel": "account",
"id": "0xAbCd...1234"
}{
"type": "subscribed",
"channel": "funding",
"id": "0xAbCd...1234",
"contents": {
"isSnapshot": true,
"fundingPayments": [
{
"marketId": 1,
"marketDisplayName": "BTC-USD",
"fundingRate": "0.00001234",
"size": "0.5",
"payment": "-3.21",
"time": 1700000000000000
},
{
"marketId": 2,
"marketDisplayName": "ETH-USD",
"fundingRate": "-0.00000567",
"size": "-2.0",
"payment": "1.05",
"time": 1700000000000000
}
]
}
}{
"type": "channel_data",
"channel": "funding",
"id": "0xAbCd...1234",
"contents": {
"marketId": 1,
"marketDisplayName": "BTC-USD",
"fundingRate": "0.00001234",
"size": "0.5",
"payment": "-3.21",
"time": 1700003600000000
}
}Recent funding payments for the account, sent once on subscribe. Same item shape as REST GET /v1/funding. Up to 100 entries from the last 30 days; for older history query REST GET /v1/funding with from.
One applied funding payment per frame, emitted at each funding payment time. One frame per (market, account) where the position held a non-zero size when the payment was computed.
Was this page helpful?