get_historical_volumes
Retrieve historical deposit and withdrawal volumes for any bridge or chain. Returns a table with date, USD amounts, and transaction counts for analysis.
Instructions
Fetch and return historical volumes for a bridge, chain, or specific bridge on a chain in a table format.
Parameters:
- chain: string (required) - Chain slug (from list_chains) or 'all' for all chains.
- bridge_id: integer (optional) - The ID of the bridge (obtain from list_bridges).
Returns a table of historical volumes with columns: date, depositUSD, withdrawUSD, depositTxs, withdrawTxs.
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": {
"chain": "<chain>"
},
"name": "get_historical_volumes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | Yes | ||
| bridge_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |