Prepare a Merkl reward claim
prepare_merkl_claimPrepare one Distributor claim for every Merkl reward token the sender holds on a chain, from amounts and proofs fetched from https://api.merkl.xyz/v4/users/{address}/rewards/summary. The proofs are folded into their Merkle root here, and the read bundle checks it against the root the chain enforces, so Merkl's API need not be trusted. Distinct from prepare_rewards_claim, which claims Ekubo's own incentive drops.
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": {
"chain_id": "<chain_id>",
"sender": "<sender>",
"rewards": "<rewards>"
},
"name": "prepare_merkl_claim"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sender | Yes | Claiming wallet; the leaf's user address | |
| rewards | Yes | One entry per reward token on this chain, all in one claim | |
| chain_id | Yes | From the Merkl rewards summary |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| execution_plan_reference | No | artifact_reference; pass unchanged |