Unsubscribe Transfer
Stops receiving transfer updates for the specified account
Unsubscribe from transfer updates (requires authentication)#
Stops receiving transfer updates for the specified account
Request to unsubscribe from transfer updates
Parameters
sourcestringMust be 'transfer'
accountstringEthereum address of the account (must match subscription)
subaccountIndexintegerSubaccount index (must match subscription)
{
"jsonrpc": "2.0",
"method": "unsubscribe",
"params": {
"source": "transfer",
"account": "0xe1c03ec3bcf509b3e8e63abcd03edc661ffe6a78",
"subaccountIndex": 0
},
"id": 19
}Success response for unsubscribe requests
Parameters
message?stringSuccess message
{
"jsonrpc": "2.0",
"result": {
"message": "Unsubscribed from channel"
},
"usIn": 1234567890123,
"usOut": 1234567890456,
"usDiff": 333,
"id": 10
}Error response for failed requests
Parameters
jsonrpcstringJSON-RPC version
errorobjectusInintegerRequest received timestamp in milliseconds
usOutintegerResponse sent timestamp in milliseconds
usDiffintegerProcessing time in milliseconds
id?string | integer | nullRequest identifier (if provided in request, otherwise null)
{
"jsonrpc": "2.0",
"error": {
"code": -32602,
"message": "Invalid subscription params"
},
"usIn": 1234567890123,
"usOut": 1234567890456,
"usDiff": 333,
"id": 2
}Subscribe Transfer
Subscribe to real-time account transfer updates (deposits, withdrawals, transfers, fees, etc.) for GET account/transfers. Uses the Spacetime account_transfers table. Requires account and subaccount index.
Subscribe Balance
Subscribe to real-time balance updates for owned or delegated accounts. Can subscribe to all subaccounts or a specific subaccount.