Prepare a buy or sell
anchorpad_prepare_tradePrepare a buy or sell of an AnchorPad coin on its bonding curve. Returns a sign link for the user; nothing happens until they approve it in their wallet. amount is in the pair asset for a buy (e.g. 0.1 SOL) and in coins for a sell. The approval page shows the live price and a 3% slippage limit before the user signs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mint | Yes | The coin's mint address | |
| side | Yes | buy or sell | |
| amount | Yes | Amount as a plain number, e.g. "0.1" |