Skip to main content

Overview

  • Dataset ID: 0302
  • Table: blockdb_evm.b0302_token_to_token_prices_swap_prints_v1
  • Description: Executed swap prints (realized token_in → token_out price & sizes) per on-chain swap event.
  • Primary key: (pool_uid, token_in, token_out, block_number, tx_index, log_index)
  • API: POST /evm/prices/spot/crypto/prints

Columns

ColumnTypeDescription
chain_idBIGINTEVM chain identifier; see Chain.
pool_uidBYTEAPool identifier; FK → b0211_liquidity_pools_v1.pool_uid.
exchange_idINTEGERExchange identifier.
type_idINTEGERPool type identifier.
block_numberBIGINTBlock of the swap event.
block_timeTIMESTAMPTZBlock time.
tx_indexINTEGERTransaction index in block.
log_indexINTEGERLog index in receipt.
token_inBYTEAInput token (20B).
token_outBYTEAOutput token (20B).
amount_inNUMERIC(78,0)Amount of token_in (raw units).
amount_outNUMERIC(78,0)Amount of token_out (raw units).
exec_priceNUMERIC(78,18)Realized price: token_out per 1 token_in (decimals-adjusted); nullable for extreme cases per pipeline rules.
_tracing_idBYTEABlockDB tracing ID; unique.
_parent_tracing_idsBYTEA[]Parent tracing IDs.
_created_atTIMESTAMPTZRecord creation time.
_updated_atTIMESTAMPTZRecord last update time.

OHLC

Time-bucketed bars built from swap activity.

Swap fees

Fee accounting for the same swap events.
Last modified on March 21, 2026