defillama_fees
List protocols with fee and revenue data and return rows with per-metric totals for one data_type such as dailyRevenue, optionally scoped to one chain. Valid data_type values are dailyFees, dailyRevenue, dailyHoldersRevenue, dailyProtocolRevenue, dailyUserFees, dailySupplySideRevenue, dailyBribesRevenue, dailyTokenTaxes, dailyAppFees, and dailyAppRevenue. Use defillama_fee_summary for one protocol.
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": "defillama_fees"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | Optional chain name to scope the overview, e.g. Ethereum. | |
| data_type | No | Fee metric: dailyFees, dailyRevenue, dailyHoldersRevenue, dailyProtocolRevenue, dailyUserFees, dailySupplySideRevenue, dailyBribesRevenue, dailyTokenTaxes, dailyAppFees, or dailyAppRevenue. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The tool result payload (shape varies per tool; see each tool's docs resource). |