TypeScript shape
REST trade id when available. It is nullable on fast-path stream messages; use
stable_id as the fallback matching key.Deterministic stream trade id built from
chainId, transaction hash, pair address, and swap index. Use it to disambiguate multiple trades in the same transaction when id is null.Pair or pool address for the trade.
Token address in
assetMode or traderMode.Trade timestamp in milliseconds.
Base token price in USD at trade time.
Human-readable amount of the base token traded.
Human-readable amount of the quote token traded.
Exact raw base token amount in the token’s smallest on-chain units.
Exact raw quote token amount in the quote token’s smallest on-chain units.
USD value of the trade.
Trade direction, usually
buy or sell.Swap operation type, for example
regular, deposit, or withdrawal.Blockchain name, for example
ethereum, base, or solana.Transaction hash or Solana signature.
hash is not unique enough by itself for multi-swap transactions.Transaction sender address.
Matched wallet address in
traderMode.