Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.blockdb.io/llms.txt

Use this file to discover all available pages before exploring further.

Overview

  • Dataset ID: 0405
  • Table: blockdb_evm.b0405_token_to_token_vwap_v1
  • Description: Volume-weighted average price (1m..1d) per pool and token pair direction, anchored to first/last on-chain events in the bucket.
  • Primary key: (pool_uid, token_in, token_out, bucket_start, bucket_seconds)
  • API: POST /evm/prices/spot/crypto/vwap
  • CSV Sample: Download
  • JSON Sample: Download

Sample Viewer

Columns

ColumnTypeDescription
pool_uidBYTEAPool identifier; FK → b0211_liquidity_pools_v1.pool_uid.
exchange_idINTEGERExchange identifier.
type_idINTEGERPool type identifier.
first_block_numberBIGINTFirst contributing event block.
first_block_timeTIMESTAMPTZFirst contributing event time.
first_tx_indexINTEGERFirst contributing tx_index.
first_log_indexINTEGERFirst contributing log_index.
last_block_numberBIGINTLast contributing event block.
last_block_timeTIMESTAMPTZLast contributing event time.
last_tx_indexINTEGERLast contributing tx_index.
last_log_indexINTEGERLast contributing log_index.
bucket_startTIMESTAMPTZInclusive UTC bucket start.
bucket_secondsINTEGERBucket size: 60, 300, 900, 1800, 3600, 14400, or 86400.
token_inBYTEAInput token (20B).
token_outBYTEAOutput token (20B).
price_vwapNUMERIC(78,18)VWAP: token_out per 1 token_in, decimals-adjusted.
total_volume_inNUMERIC(78,18)Total traded token_in in bucket.
total_volume_outNUMERIC(78,18)Total received token_out in bucket.
trade_countBIGINTNumber of swaps in the bucket.
_tracing_idBYTEAUnique BlockDB tracing id for the row.
_parent_tracing_idsBYTEA[]Tracing IDs of contributing swap prints. NULL by default (disabled) — the bucket is fully reconstructible from (pool_uid, token_in, token_out, first_block_number..last_block_number). Enable only when full per-row audit trail is required; can be large (thousands of entries per bar).
_created_atTIMESTAMPTZRecord creation time.
_updated_atTIMESTAMPTZRecord last update time.

Token-to-Token OHLC

OHLC bars for the same directional pairs.

Token-to-USD VWAP

USD VWAP derived from token-to-token VWAP via stablecoin anchoring.
Last modified on April 4, 2026