Swap Quote
get-swap-quoteSwap Quote. Calls only GET /v4/trading/swap-quote and returns that response. Solana API endpoint for fetching Solana swap quotes. Returns expected output, price impact, slippage bounds, and full route plan for any token pair.
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": {
"amount": "<amount>",
"inputMintAddress": "<inputMintAddress>",
"outputMintAddress": "<outputMintAddress>"
},
"name": "get-swap-quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Amount of input token to swap (in UI units, e.g., 0.1 for 0.1 SOL) | |
| slippage | No | Slippage tolerance in percentage (default: 0.5) | |
| accountAddress | No | Wallet address (used for personalized routing) | |
| inputMintAddress | Yes | Typed Solana public key identifier used across request parameters and response fields. | |
| outputMintAddress | Yes | Typed Solana public key identifier used across request parameters and response fields. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | ||
| status | No |