Prepare an Aerodrome Sugar read bundle
prepare_aerodrome_sugar_readsBuild the eth_call bundle and decode plan for one Sugar dataset (pools, positions, veNFTs, epochs, rewards) for the wallet to run against the user's RPC; Sugar has no API. The pool, gauge, fee and bribe addresses and veNFT ids it returns are the inputs to the other prepare_aerodrome_* tools.
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>",
"dataset": "<dataset>"
},
"name": "prepare_aerodrome_sugar_reads"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pool | No | Required for pool_epochs and venft_pool_rewards (address) | |
| limit | No | Page size; at most 500 pools or 200 positions | |
| offset | No | ||
| account | No | Required for positions and venfts_by_account (address) | |
| dataset | Yes | Sugar dataset | |
| chain_id | Yes | Base (8453) only | |
| venft_id | No | Required for venft_by_id, venft_rewards, and venft_pool_rewards (positive decimal integer) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| execution_plan_reference | No | artifact_reference; pass unchanged |