Income record
hookr_incomeThe income record of one wallet, one ERC-8004 agent or one revenue token on Robinhood Chain over the last 1 to 30 days: each payment with its transaction, summed by UTC day and currency in raw units, where a part that did not read is unavailable and never zero; the lines come newest first, up to 200 a page, and a page's nextCursor passed back as cursor lists the next older lines of the same window (a window of up to 29 days).
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": "hookr_income"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | How many days back from the record's newest block to count, 1 to 30 (default 7). | |
| limit | No | How many lines a page lists, newest first, 1 to 200 (default 200), while the days and the totals always count every line. | |
| token | No | A revenue token's address, for its door income. | |
| cursor | No | nextCursor from the previous page: the next older lines of the same window, whatever was recorded since. | |
| account | No | A wallet's address, for what Hookr's pools paid it: its claims and the trading fees its launch liquidity collected. | |
| agentId | No | An ERC-8004 agent id as a decimal string, for its owner's and its agent wallet's payments and the door income of each revenue token its record lists that an Agent gate link confirms. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Every UTC day of the window, oldest first; a day with no income rows is a counted nothing. | |
| rule | Yes | The counting rule and its docs page. | |
| agent | No | With account: the ERC-8004 id an Agent gate links the wallet to, to ask again by agentId. | |
| lines | No | This page's payments, newest first, limit at most (two hundred by default). | |
| reason | No | Why the answer is not ok, in words an agent can act on. | |
| status | Yes | ready, partial when notCounted names a part that was left out or window.cut is true, or unavailable when nothing was answered. | |
| totals | No | The window's sum per currency. | |
| window | No | ||
| subject | Yes | What was asked about, every address in lower case. | |
| nextCursor | No | Pass back as cursor for the next older lines of the same window; null on the page with the oldest line. | |
| notCounted | Yes | Each part left out, with why: never read as zero. | |
| linesOmitted | No | Lines of the window this page does not list (every other page's); the days and the totals count them. |