Trades
Stream trades in all pairs in Standard spot exchange
✅ Request
{
"id": 1,
"method": "spot.trades.subscribe.pairs.all",
"params": null
}{
"id": 1,
"method": "spot.trades.unsubscribe.pairs.all",
"params": null
}📤 Response
{
"result": null,
"id": 1
}{
"code": 1,
"msg": "Internal Error: {error}"
}📡 Streamed Data Format
[
"spotTrade", // eventId
987654, // orderId
"0xBaseTokenAddress", // base token address
"0xQuoteTokenAddress", // quote token address
"ETH", // base token symbol
"USDC", // quote token symbol
"0xPairAddress", // pair contract address
"ETH/USDC", // pair symbol
true, // isBid (true = buy, false = sell)
3142.25, // price
"0xUserAddress", // account (initiator)
"0xAssetAddress", // traded asset address
"ETH", // traded asset symbol
1.5, // amount (of asset)
4713.375, // valueUSD
1.5, // baseAmount
4713.375, // quoteAmount
1713657900, // timestamp (Unix)
"0xTakerAddress", // taker address
"0xMakerAddress", // maker address
"0xTransactionHash" // transaction hash
]📄 Field Descriptions
Index
Field
Type
Description
Stream trades in specific pairs in Standard spot exchange
✅ Request
📤 Response
📡 Streamed Data Format
📄 Field Descriptions
Index
Field
Type
Description
Last updated