Prepare an LP fee or reward claim
prepare_lp_position_earnings_claimPrepare collection of all accrued fees from an owned standard position or rewards from an owned Ve33 position, keeping its liquidity and NFT. Run its current_state_query first: require every inner call to succeed and the decoded owner to equal expected_owner, and pass the decoded fees or rewards to the wallet with the plan.
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>",
"positions_address": "<positions_address>",
"token_id": "<token_id>"
},
"name": "prepare_lp_position_earnings_claim"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sender | Yes | Position owner (address) | |
| chain_id | Yes | EVM chain ID | |
| token_id | Yes | Position NFT ID (decimal or 0x-hex integer) | |
| recipient | No | Defaults to sender (address) | |
| positions_address | Yes | Positions or Ve33Positions manager (address) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| execution_plan_reference | No | artifact_reference; pass unchanged |