Quote RPC Method - Metis
Please note that this method is only available for paid subscribers of Metis - Jupiter V6 Swap API.
To establish a WebSocket connection, you need to simply append '/ws' to your endpoint URL. For parameters, you can include them as URL arguments referred to as "params".
Solana Kit includes the ability to customize RPC methods and transports, allowing you to seamlessly integrate QuickNode Marketplace add-ons into your applications. For more information on how to use QuickNode Marketplace add-ons with Solana Kit, check out these guides: How to Use QuickNode Add-ons using Solana Kit (Part 1) and How to Use QuickNode Add-ons using Solana Kit (Part 2)
Parameters
jsonrpc
string
REQUIRED
Loading...
method
string
REQUIRED
Loading...
id
integer
REQUIRED
Loading...
params
object
REQUIRED
Loading...
inputMint
string
REQUIRED
Loading...
outputMint
string
REQUIRED
Loading...
amount
integer
REQUIRED
Loading...
slippageBps
integer
Loading...
swapMode
string
Loading...
dexes
array
Loading...
excludeDexes
array
Loading...
restrictIntermediateTokens
boolean
Loading...
onlyDirectRoutes
boolean
Loading...
asLegacyTransaction
boolean
Loading...
platformFeeBps
integer
Loading...
maxAccounts
integer
Loading...
autoSlippage
boolean
Loading...
maxAutoSlippageBps
integer
Loading...
autoSlippageCollisionUsdValue
integer
Loading...
useQNMarketCache
boolean
Loading...
Returns
jsonrpc
string
Loading...
id
integer
Loading...
result
object
Loading...
inputMint
string
Loading...
inAmount
string
Loading...
outputMint
string
Loading...
outAmount
string
Loading...
otherAmountThreshold
string
Loading...
swapMode
string
Loading...
slippageBps
integer
Loading...
platformFee
object
Loading...
amount
string
Loading...
feeBps
integer
Loading...
priceImpactPct
string
Loading...
routePlan
array
Loading...
swapInfo
object
Loading...
ammKey
string
Loading...
label
string
Loading...
inputMint
string
Loading...
outputMint
string
Loading...
inAmount
string
Loading...
outAmount
string
Loading...
feeAmount
string
Loading...
feeMint
string
Loading...
percent
integer
Loading...
contextSlot
integer
Loading...
timeTaken
integer
Loading...
Request
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free