build_buy_tx
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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| eth | Yes | ||
| token | Yes | ||
| wallet | No | the wallet that will sign; adds a preflight check | |
| slippagePct | No |