What a fee wallet earned
get_earningsWhat trades paid a fee wallet as their integrator fee (the feeWallet of get_quote, or a key's fee address): trades, senders, volume and fees in USD for the last 30 days and all time, and per token sold (the fee in the token's smallest unit). Trades are counted once their transaction is final on an EVM network; fees on trades that start on Bitcoin, TON or Tron are paid separately and are not listed. No API key needed.
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": {
"wallet": "<wallet>"
},
"name": "get_earnings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wallet | Yes | The fee wallet, an EVM address (0x…) |