build_buy_tx
Unsigned tx: buy an AgentPad token on its curve. v2 curves: any wallet can buy (open trading). v1 curves (e.g. APAD): registered agents only before graduation. 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 |