Prepare a rewards claim (V4)
prepare_claim_rewardsv4 only. Build an unsigned transaction to claim a wallet's V4 rewards. If 'ids' is omitted, claims everything currently claimable. Non-custodial. There is no v3 equivalent because a v3 claim needs no second call: get_user_rewards already returns the transaction.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | No | Optional reward ids (from get_user_rewards). Omit to claim all claimable. | |
| user | Yes | Wallet address (0x, 40 hex). | |
| chainId | No | Chain id to claim on. Required unless 'ids' is omitted, in which case the chain is discovered from the wallet's claimable rewards. | |
| version | No | Optional, and only 'v4': this tool exists on v4 only. |