DEX volume

Description

DEX volume tracks the exchange volume at the XRPL Decentralized Exchange. The volume includes all trades where at least one of the assets in the pair have recently traded against XRP.

dex_volume_in_usd_5m measures CLOB volume in USD equivalent.

dex_volume_in_xrp_5m measures CLOB volume in XRP coins.

dex_amm_volume_in_xrp_5min measures AMM volume in XRP coins.

dex_amm_volume_in_usd_5min measures AMM volume in USD coins.

All four metrics are available only for the xrp asset.


Access

Free Access


Measuring Unit

XRP tokens and USD


Data Type

Timeseries Data


Frequency

Five-Minute Intervals


Latency

On-Chain Latency


Available Assets

Available for xrp only


SanAPI

Available under the dex_volume_in_usd_5m, dex_volume_in_xrp_5m, dex_amm_volume_in_xrp_5min and dex_amm_volume_in_usd_5min names.

1
2
3
4
5
6
7
8
9
10
11
12
{
  getMetric(metric: "dex_volume_in_usd_5m") {
    timeseriesData(
      slug: "xrp"
      from: "2024-07-01T00:00:00Z"
      to: "2024-07-07T00:00:00Z"
    ) {
      datetime
      value
    }
  }
}

Run in Explorer

Help & Feedback

We are using cookies to improve your experience!

By clicking “Allow all”, you agree to use of all cookies. Visit our Cookies Policy to learn more.