Most recent price data for tokens across all supported blockchains
The prices.latest
table provides the most recently available price for each token across all supported blockchains. This table is ideal for calculating current token values or displaying up-to-date prices.
Column | Type | Description |
---|---|---|
blockchain | varchar | Blockchain identifier (e.g., ‘ethereum’, ‘arbitrum’) |
contract_address | varbinary | Token contract address (fixed address for native tokens) |
symbol | varchar | Token symbol (e.g., ‘ETH’, ‘USDC’) |
price | double | Most recent token price in USD |
decimals | int | Token decimals |
timestamp | timestamp | Timestamp when this price was recorded |
volume | double | Trading volume in USD (from price source) |
source | varchar | Data source (‘coinpaprika’ or ‘dex.trades’) |
source_timestamp | timestamp | Exact timestamp of the source data point |
The latest prices are built by:
This table is perfect for querying the current price of tokens without needing to filter by timestamp or perform additional aggregations. It’s designed for efficiency when you just need the most recent price.
Here are some examples of how to use the prices tables.
dune.blockchains
table to get the standardized address for each blockchainprices.day
, prices.hour
, or prices.minute
insteadcontract_address
and blockchain
for precise token identification, never use symbol
for joins or filtersMost recent price data for tokens across all supported blockchains
The prices.latest
table provides the most recently available price for each token across all supported blockchains. This table is ideal for calculating current token values or displaying up-to-date prices.
Column | Type | Description |
---|---|---|
blockchain | varchar | Blockchain identifier (e.g., ‘ethereum’, ‘arbitrum’) |
contract_address | varbinary | Token contract address (fixed address for native tokens) |
symbol | varchar | Token symbol (e.g., ‘ETH’, ‘USDC’) |
price | double | Most recent token price in USD |
decimals | int | Token decimals |
timestamp | timestamp | Timestamp when this price was recorded |
volume | double | Trading volume in USD (from price source) |
source | varchar | Data source (‘coinpaprika’ or ‘dex.trades’) |
source_timestamp | timestamp | Exact timestamp of the source data point |
The latest prices are built by:
This table is perfect for querying the current price of tokens without needing to filter by timestamp or perform additional aggregations. It’s designed for efficiency when you just need the most recent price.
Here are some examples of how to use the prices tables.
dune.blockchains
table to get the standardized address for each blockchainprices.day
, prices.hour
, or prices.minute
insteadcontract_address
and blockchain
for precise token identification, never use symbol
for joins or filters