aex402_quote
Get a swap quote from an AeX402 pool. Calculates expected output, price impact, and fees without executing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pool | Yes | Pool account address (base58) | |
| amount | Yes | Input amount in atomic units (lamports/smallest unit) | |
| inputMint | Yes | Input token mint address |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| feeBps | No | ||
| inputMint | Yes | ||
| outputMint | Yes | ||
| inputAmount | Yes | u64 as string | |
| priceImpactPct | No | percent, 4 decimals | |
| estimatedOutput | Yes | u64 as string |