jupiter_get_quote
Use Jupiter's API to obtain a token swap quote by specifying input and output tokens, amount, slippage, and other parameters for Solana blockchain transactions.
Instructions
Get a quote for swapping tokens on Jupiter
Input Schema
Name | Required | Description | Default |
---|---|---|---|
amount | Yes | ||
asLegacyTransaction | No | ||
excludeDexes | No | ||
inputMint | Yes | ||
maxAccounts | No | ||
onlyDirectRoutes | No | ||
outputMint | Yes | ||
platformFeeBps | No | ||
slippageBps | No | ||
swapMode | No |
Input Schema (JSON Schema)
{
"properties": {
"amount": {
"type": "string"
},
"asLegacyTransaction": {
"type": "boolean"
},
"excludeDexes": {
"items": {
"type": "string"
},
"type": "array"
},
"inputMint": {
"type": "string"
},
"maxAccounts": {
"type": "number"
},
"onlyDirectRoutes": {
"type": "boolean"
},
"outputMint": {
"type": "string"
},
"platformFeeBps": {
"type": "number"
},
"slippageBps": {
"type": "number"
},
"swapMode": {
"type": "string"
}
},
"required": [
"inputMint",
"outputMint",
"amount"
],
"type": "object"
}