Our Metrics endpoints retrieve daily metrics for a specified decentralized exchange (ex. Uniswap v3), an asset (ex. DAI) or a pair (ex. DAI_WETH).
Comparing volume data across different crypto exchanges can be challenging because each exchange has a unique interpretation of a day. However, Amberdata uses UTC timestamps and normalizes raw hourly data to enable comparison of volume data across exchanges with the same time duration.
These metrics are available at the exchange, asset, or pair level. It is difficult to normalize and calculate these metrics, as you would need all the raw hourly data to get these accurate values.
*Note: In our Metrics endpoints, we refer to TVL as "liquidityTotalNative" and "liquidityTotalUSD".
The metrics endpoints are available via REST API. The "latest" endpoints are updated daily and will display the values for the previous day. The "historical" endpoints will provide each day's value from midnight to midnight UTC.
Which pairs & assets do you provide volume level metrics for?
- We provide volume level metrics for all assets and all pairs traded on the decentralized exchanges we support. The list of exchanges we support can be found using our DEX Exchanges endpoint or the list of pairs supported on these DEX's can be found using our DEX Pairs endpoint.
In your Pairs Latest & Historical endpoints, there is a field called
feesNative. What does this mean?
- Each pair has a direction which refers to the order in which these two cryptocurrencies are traded. It is important to understand because it determines the price of the assets being traded. DAI-WETH is very different than WETH-DAI. So
feesNativedepends on the direction of the payer, so it is correlated to the direction of the pair. If we take WBTC-WETH as an example and WBTC is being traded for WETH, this means the price of WETH is quoted in terms of WBTC, so
feesNativeis equal to 0.00325 WBTC (at this point in time).
Updated 6 months ago