build_sell_tx
Build an unsigned transaction to sell AgentPad tokens back to the bonding curve for a whole-token amount, supporting v1 and v2.
Instructions
Unsigned tx: sell AgentPad tokens back to the curve (whole-token amount). v1 or v2.
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": {
"token": "<token>",
"amount": "<amount>"
},
"name": "build_sell_tx"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | ||
| amount | Yes | ||
| slippagePct | No |