Skip to main content
WSS

Overview

Subscription Parameters

chain_id
number
required
Target EVM network. See the Chain enumeration for supported values.
pool_uids
string[]
Filter updates to specific BlockDB pool identifiers.
exchange_ids
number[]
Filter updates by exchange identifiers. See the DigitalExchange enumeration.

Message Fields

pool_uid
string
BlockDB pool identifier.
exchange_id
number
Exchange/DEX identifier.
type_id
number
Pool type identifier.
block_number
number
Block height where the fee-terms record is anchored.
block_time
string
Block time (ISO-8601).
tx_index
number
Transaction index.
log_index
number
Log index.
total_fee
string | null
Total fee fraction (e.g., 0.003 = 0.30%). String to preserve NUMERIC(18,18) precision.
user_fee
string | null
Absolute fee fraction allocated to LPs/users (same units as total_fee).
protocol_fee
string | null
Absolute fee fraction allocated to protocol/treasury (same units as total_fee).
extra_fee
string | null
Absolute fee fraction allocated to extra destinations (same units as total_fee).
_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