get_day_stats
Fetch a 24-hour token volume breakdown for a bridge on a specific chain and day, returning a sorted table of token deposits and withdrawals with USD values.
Instructions
Fetch and return a 24hr token volume breakdown for a bridge on a specific day in a table format.
Parameters:
- timestamp: integer (required) - Unix timestamp for the day (data for 24hr period starting at 00:00 UTC).
- chain: string (required) - Chain slug (from list_chains).
- bridge_id: integer (optional) - The ID of the bridge (obtain from list_bridges).
Returns a table of token stats with columns: token id, symbol, decimals, deposit amount, deposit usd value, withdraw amount, withdraw value, sorted by deposit usd value in descending order.
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": {
"timestamp": "<timestamp>",
"chain": "<chain>"
},
"name": "get_day_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timestamp | Yes | ||
| chain | Yes | ||
| bridge_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |