Skip to main content

Overview

  • Dataset ID: 0505
  • Table: blockdb_evm.b0505_token_to_token_cross_pool_vwap_v1
  • Description: Cross-venue volume-weighted average price (1m..1d) per token pair direction, aggregated from per-pool VWAP (b0405) across all pools, fee tiers, and exchanges. Unlike b0405 (which has one bar per pool), this table has one bar per (token pair, bucket) regardless of pool count. Feeds b0605 for stablecoin anchoring and USD price derivation.
  • Primary key: (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
first_block_numberBIGINTFirst contributing event block across all pools.
first_block_timeTIMESTAMPTZFirst contributing event time.
first_tx_indexINTEGERFirst contributing tx_index.
first_log_indexINTEGERFirst contributing log_index.
last_block_numberBIGINTLast contributing event block across all pools.
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)Cross-venue VWAP: SUM(total_volume_out) / SUM(total_volume_in) across all contributing pools (token_out per 1 token_in, decimals-adjusted).
total_volume_inNUMERIC(78,18)Total token_in traded across all contributing pools in the bucket.
total_volume_outNUMERIC(78,18)Total token_out received across all contributing pools in the bucket.
trade_countBIGINTTotal swaps across all contributing pools.
pool_countINTEGERDistinct pools that contributed to this bucket (liquidity quality signal).
_tracing_idBYTEAUnique BlockDB tracing id for the row.
_parent_tracing_idsBYTEA[]Tracing IDs of contributing b0405 bars. NULL by default (disabled)
_created_atTIMESTAMPTZRecord creation time.
_updated_atTIMESTAMPTZRecord last update time.

Token-to-Token VWAP (per pool)

Per-pool VWAP source that feeds this cross-pool aggregation.

Token-to-Fiat VWAP

USD VWAP derived from this dataset via stablecoin anchoring.
Last modified on April 4, 2026