Prepare an Aerodrome gauge unstake
prepare_aerodrome_gauge_withdrawUnstake v2 LP tokens from a gauge. This returns the LP token, not the underlying pair, and it does not claim AERO: the read bundle reports what is still earned so it is not silently left behind.
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>",
"gauge": "<gauge>",
"amount": "<amount>"
},
"name": "prepare_aerodrome_gauge_withdraw"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gauge | Yes | Gauge from a Sugar pools read (address) | |
| amount | Yes | Exact LP token amount to unstake in base units (positive decimal integer) | |
| sender | Yes | address | |
| chain_id | Yes | Base (8453) only |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| execution_plan_reference | No | artifact_reference; pass unchanged |