Orderhistories
Stream orderhistories in an accounts in Standard spot exchange
✅ Request
{
"id": 1,
"method": "spot.orderhistories.subscribe.accounts",
"params": {
"addresses": ["0x0000000000000000000000000000000000000000"]
}
}{
"id": 1,
"method": "spot.orders.unsubscribe.accounts",
"params": {
"addresses": ["0x0000000000000000000000000000000000000000"]
}
}📤 Response
{
"result": null,
"id": 1
}{
"code": 1,
"msg": "Internal Error: {error}"
}📡 Streamed Data Format
[
"spotOrderHistory",
true,
78901,
"0xBaseTokenAddress",
"ETH",
"0xQuoteTokenAddress",
"USDT",
"ETH/USDT",
"0xPairContractAddress",
3150.5,
"0xAssetAddress",
"ETH",
2.0,
6301.0,
1713659000,
"0xUserAddress",
"0xTransactionHash"
]📄 Field Descriptions
Index
Field
Type
Description
📡 Streamed Data Format
📄 Field Descriptions
Index
Field
Type
Description
Last updated