Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.dune.com/llms.txt

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

Table Description

Daily OHLCV (open, high, low, close, volume) price data for all trading pairs on the XRP Ledger decentralized exchange (DEX), combining both the central limit order book (CLOB) and automated market maker (AMM) pools. Each row represents one trading pair per calendar day, with all prices expressed as counter token units per one unit of base token. Pair direction is normalized for consistency so the same pair always appears with the same base/counter assignment regardless of which side initiated the trade. Use this table for price charting, liquidity analysis, and DEX volume reporting.

Column Descriptions

ColumntypeDescription
ledger_close_datedateCalendar date of the trading day; all trades for this pair on this date are aggregated into one row
base_token_idbigintSurrogate key for the base token in the trading pair (→ tokens)
base_token_currencystringCurrency code of the base token; ‘XRP’ for native XRP
base_token_issuerstringXRPL address of the base token issuer; null for native XRP
counter_token_idbigintSurrogate key for the counter (quote) token in the trading pair (→ tokens)
counter_token_currencystringCurrency code of the counter token; ‘XRP’ for native XRP
counter_token_issuerstringXRPL address of the counter token issuer; null for native XRP
open_pricedoublePrice of the first trade of the day, expressed as counter token units per one base token
high_pricedoubleHighest trade price recorded during the day, expressed as counter token units per one base token
low_pricedoubleLowest trade price recorded during the day, expressed as counter token units per one base token
close_pricedoublePrice of the last trade of the day, expressed as counter token units per one base token
vwap_pricedoubleVolume-weighted average price for the day, calculated as the sum of (price × base amount) divided by total base volume
volumedoubleTotal base token amount traded across all CLOB and AMM activity on this day
clob_trade_countbigintNumber of order-book trades (OfferCreate and Payment transactions) included in this day’s aggregation
amm_swap_countbigintNumber of automated market maker (AMM) pool swaps included in this day’s aggregation
total_dex_tx_countbigintTotal number of DEX transactions for this pair on this day, combining CLOB trades and AMM swaps

Table Sample