Skip to main content
WSS

Overview

Subscription Parameters

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

Message Fields (data)

Top-level fields: chain_id, dataset_id, is_reorg, data (object). The data object mirrors b0405_token_to_token_vwap_v1:
string
BYTEA
number
INTEGER
number
INTEGER
string
TIMESTAMPTZ — Inclusive UTC bucket start.
string
TIMESTAMPTZ — Exclusive UTC bucket end (bucket_start + bucket_seconds).
number
INTEGER
string
BYTEA
string
BYTEA
string | null
NUMERIC(78,18) — VWAP (token_out per 1 token_in); null if undefined.
string
NUMERIC(78,0) — Sum of raw UInt256 amountIn values.
string | null
NUMERIC(78,18) — Decimal-adjusted token_in volume; null if decimals unknown.
string
NUMERIC(78,0) — Sum of raw UInt256 amountOut values.
string | null
NUMERIC(78,18) — Decimal-adjusted token_out volume; null if decimals unknown.
number
BIGINT
string
BYTEA
string[] | null
BYTEA[] — Optional parent lineage references.
string
TIMESTAMPTZ
string
TIMESTAMPTZ

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