Skip to main content
WSS

Overview

Subscription Parameters

number
required
Target EVM network. See the Chain enumeration for supported values.
string[]
Filter updates to specific BlockDB pool identifiers.
string[]
Filter by input token addresses (hex strings, 20 bytes, no 0x prefix).

Message Fields

string
BlockDB pool identifier.
number
Exchange/DEX identifier.
number
Pool type identifier.
number
Block height where the swap occurred.
string
Block time (ISO-8601).
number
Transaction index.
number
Log index.
string
Address of the input token.
string
Address of the output token.
string
Token address the fee is denominated in.
string
Executed input amount (raw units, integer string).
string
Executed output amount (raw units, integer string).
string
Total fee amount in fee_token units.
string | null
User/LP share of fees (raw units, nullable).
string | null
Protocol share of fees (raw units, nullable).
string | null
Extra destination share of fees (raw units, nullable).
string
Row-level lineage hash for correlation.
string[]
Parent lineage ids (hex).
string
Record creation time (ISO-8601).
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 July 19, 2026