Build a revenue token claim
hookr_build_revenue_claimBuilds the unsigned calls that claim a wallet's income on a revenue token, one per asset or one for every asset, and one for its drops; each call the contract would take now is simulated from the wallet, and any other says why not. Pass sync to put the token's sync first: the claims are what the wallet could claim before it.
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": {
"token": "<token>",
"account": "<account>"
},
"name": "hookr_build_revenue_claim"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sync | No | Put the token's sync first (default false). Anyone may send it. | |
| token | Yes | The revenue token's address. | |
| account | Yes | The wallet that claims and is paid. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| calls | Yes | Unsigned calls, in the order to send them. | |
| token | No | ||
| reason | No | Why the answer is not ok, in words an agent can act on. | |
| status | Yes | ok, refused or unknown. | |
| unread | No | ||
| account | No | ||
| tokenizer | No |