Skip to main content
WSS

Overview

Subscription Parameters

chain_id
number
required
Target EVM chain. See the Chain enumeration for supported values.
base_token_address
string
required
ERC-20 contract address for the base asset (hex string, 20 bytes, no 0x prefix).
quote_token_address
string
required
ERC-20 contract address for the quote asset (hex string, 20 bytes, no 0x prefix).

Message Fields

pool_uid
string
Pool identifier.
exchange_id
number
Exchange/DEX identifier.
type_id
number
Pool type identifier.
block_number
number
Block height where the swap occurred.
block_time
string
Block time (ISO-8601).
tx_index
number
Transaction index.
log_index
number
Log index.
token_in
string
Address of the input token.
token_out
string
Address of the output token.
amount_in
string
Amount of token_in (raw units, integer string).
amount_out
string
Amount of token_out (raw units, integer string).
exec_price
string | null
Realized execution price: token_out per 1 token_in (decimals-adjusted). May be null.
_tracing_id
string
Row-level lineage hash for correlation.
_parent_tracing_ids
string[]
Parent lineage ids (hex).
_created_at
string
Record creation time (ISO-8601).
_updated_at
string
Record last update time (ISO-8601).

Subscription Example

Response Example

subscribe
type:object
unsubscribe
type:object
subscribe_response
type:object
unsubscribe_response
type:object
update
type:object
Last modified on April 6, 2026