DEX volume per day, by protocol
get_dex_volume_dailyPer UTC day over a window of dates, oldest first: the DEX trading of each protocol — swaps, USD volume, active pools and the pools that could not be priced (unpricedPools) — and the day's totals. A USD volume adds only the pools that could be priced, so a figure beside unpricedPools is a partial sum, and it covers the pools TraceFast decodes, not every venue. from and to (YYYY-MM-DD) set the window, at most 366 days, by default the last 30; a day with no figures is absent. Days marked provisional may still change: today, and the last four days, whose USD values are revised once a day. Use it to chart DEX activity by protocol. Not for which tokens or pools traded most: use get_top_dex_tokens or get_top_pools.
Arguments: none required; optional from, to. chain_id defaults to 1 (Ethereum mainnet, the only chain served). Freshness: a daily aggregate; the window ends at the latest day it holds, and the answer states no block (meta.asOfBlock is absent). meta.cached is true when the answer came from the TraceFast response cache (refreshed within minutes); meta.timestamp is when it was produced, in Unix milliseconds.
Minimum plan: Enriched Data; the Intelligence and Investigation plans include it. Rate class: core. Documentation: https://docs.tracefast.xyz/api/network-dex-volume
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_dex_volume_daily"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | The last UTC date, `YYYY-MM-DD`. Default: today. | |
| from | No | The first UTC date, `YYYY-MM-DD`. | |
| chain_id | No | Chain id. Only 1 (Ethereum mainnet) is served; the default. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||