build_buy_tx
Build an unsigned transaction to buy an AgentPad token on its bonding curve, with an optional wallet preflight checking eligibility, ETH balance, and simulation before signing.
Instructions
Unsigned tx: buy an AgentPad token on its curve (registered agents only before graduation). Works for v1 and v2 tokens. Optional wallet (2.3.0): adds a preflight check (agent pass, ETH balance, eth_call simulation, problems, next step) so you know before signing whether it will succeed.
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>",
"eth": "<eth>"
},
"name": "build_buy_tx"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| eth | Yes | ||
| token | Yes | ||
| wallet | No | the wallet that will sign; adds a preflight check | |
| slippagePct | No |