A token's daily DEX volume
get_token_dex_volumeA token's DEX trading per UTC day over the last days days (30 by default, up to 365; today included and still being counted), oldest first — the USD volume and the swaps by the token's position in the pair (swapsAsToken0 / swapsAsToken1: the pair position, not a buy or sell direction) — with the totals. A day's USD volume adds the hours that could be priced: a day with swaps but no priced hour has no volumeUsd and is counted in unpricedDays (then totalVolumeUsd is a partial sum); a day priced only in part is not marked. A day without swaps has no entry. Only the pools TraceFast decodes are counted, which may lag a newly created pool. Use it to chart how much a token trades. Not for where it trades: use get_token_pools. Not for the whole chain's DEX volume: use get_dex_volume_daily. Not for the tokens that trade most: use get_top_dex_tokens.
Arguments: token; optional days. 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: Intelligence; the Investigation plan includes it. Rate class: core. Documentation: https://docs.tracefast.xyz/api/token-dex-volume
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"token": "<token>"
},
"name": "get_token_dex_volume"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | 1 to 365, default 30. | |
| token | Yes | The token contract, `0x` + 40 hex, any case. | |
| chain_id | No | Chain id. Only 1 (Ethereum mainnet) is served; the default. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||