Get wallet history
get_wallet_historyRetrieve read-only account money history: transactions, balance, credit, and credit sources. Requires finance scope on API key.
Instructions
Read-only money history for the account. kind = "transactions" (deposits, withdrawals and swaps, newest first, paged), "balance" ($2DAI balance chart points over a window of days), "credit" (USD-credit chart points), or "sources" (where credit came from and went over a window: accrued, bonuses, swapped in, spent on generations). Needs the opt-in "finance" scope on the API key (enabled in the dashboard's key settings).
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": {
"kind": "<kind>"
},
"name": "get_wallet_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | sources only — window in days (default 30). | |
| kind | Yes | Which history to read. | |
| page | No | transactions only — 0-based page. | |
| limit | No | transactions: rows per page (5-50, default 20). balance/credit: window in DAYS (7-365, default 90). |