Skip to main content
POST
Not publicly available: This dataset is not included in the standard public API. Request access via a custom plan — contact support@blockdb.io.

Overview

Parameters

chain_id
number
required
Target EVM network. See the Chain enumeration.

Range filters (mutually exclusive)

from_block
number
Starting block number (inclusive). Use with to_block.
to_block
number
Ending block number (inclusive). Use with from_block.
from_timestamp
string
Starting timestamp (ISO-8601). Use with to_timestamp.
to_timestamp
string
Ending timestamp (ISO-8601). Use with from_timestamp.
Validation rule:
Provide either a block range or a time range or filter by path_ids (direct selectors).
Do not mix block and timestamp ranges in one request. Invalid combinations return HTTP 400.

Direct selectors

path_ids
string[]
Filter by 32-byte path_id values (hex string, no 0x prefix).

Pagination

limit
number
default:"250"
Recommended default 250; maximum 1000 to stay under ~10 MB responses.
cursor
string
Opaque pagination cursor from a previous response.

Response fields

Meta

meta
object
Echo of request metadata applied to the response.
meta.chain_id
number
EVM chain ID echoed from the request.
meta.request_window
object
Pure echo of the window you sent (from_block/to_block/from_timestamp/to_timestamp); unset bounds are null.
meta.resolved_window
object | null
The concrete window the query actually executed against, after resolving the request. For a block range on a time-bucketed endpoint (OHLC/VWAP/VWAP-aggregate/fiat VWAP), from_timestamp/to_timestamp hold the resolved timestamp window (and from_block/to_block echo your request). For a time range on a block-keyed endpoint, from_block/to_block hold the resolved block range (and the timestamps echo your request). null for selector-only requests (no window). No extra database work is done — these are the values the query already computed.
meta.resolved_window.from_block
number | null
Resolved/echoed start block of the executed window.
meta.resolved_window.to_block
number | null
Resolved/echoed end block of the executed window.
meta.resolved_window.from_timestamp
string | null
Resolved/echoed start timestamp (ISO-8601) of the executed window.
meta.resolved_window.to_timestamp
string | null
Resolved/echoed end timestamp (ISO-8601) of the executed window.
meta.filters
object
Filter parameters echoed from the request (path_ids, pagination, etc.).

Data

data
object[]
Path definition records matching the request.
data.path_id
string
32-byte path identifier (hex, no 0x).
data.block_number
number
Block where the path was first observed.
data.block_time
string
UTC timestamp of that block.
data.tx_index
number
Transaction index within the block.
data.log_index
number
Log index within the transaction.
data.pool_uids
string[]
Pool UIDs in canonical cycle order (hex, 32-byte each).
data.token_cycle
string[]
Token addresses in canonical cycle order (hex, 20-byte each), e.g. (A,B,A) or (A,B,C,A).
data._tracing_id
string
Row tracing id (hex, no 0x).
data._parent_tracing_ids
string[]
Parent tracing ids.
data._created_at
string
Record creation timestamp (ISO-8601).
data._updated_at
string
Last update timestamp (ISO-8601).

Envelope

cursor
string | null
Pagination cursor.
page_count
number
Number of rows in data.
Last modified on July 6, 2026