Quote RPC Method - Metis
Please note that this method is only available for paid subscribers of Metis - Jupiter 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)
参数
jsonrpc
字符串
必填
正在加载...
method
字符串
必填
正在加载...
id
整数
必填
正在加载...
params
对象
必填
正在加载...
inputMint
字符串
必填
正在加载...
outputMint
字符串
必填
正在加载...
金额
整数
必填
正在加载...
slippageBps
整数
正在加载...
swapMode
字符串
正在加载...
dexes
数组
正在加载...
excludeDexes
数组
正在加载...
restrictIntermediateTokens
布尔型
正在加载...
onlyDirectRoutes
布尔型
正在加载...
asLegacyTransaction
布尔型
正在加载...
platformFeeBps
整数
正在加载...
maxAccounts
整数
正在加载...
instructionVersion
字符串
正在加载...
dynamicSlippage
布尔型
正在加载...
退货
jsonrpc
字符串
正在加载...
id
整数
正在加载...
结果
对象
正在加载...
inputMint
字符串
正在加载...
inAmount
字符串
正在加载...
outputMint
字符串
正在加载...
outAmount
字符串
正在加载...
otherAmountThreshold
字符串
正在加载...
swapMode
字符串
正在加载...
slippageBps
整数
正在加载...
platformFee
对象
正在加载...
金额
字符串
正在加载...
feeBps
整数
正在加载...
priceImpactPct
字符串
正在加载...
routePlan
数组
正在加载...
swapInfo
对象
正在加载...
ammKey
字符串
正在加载...
标签
字符串
正在加载...
inputMint
字符串
正在加载...
outputMint
字符串
正在加载...
inAmount
字符串
正在加载...
outAmount
字符串
正在加载...
feeAmount
字符串
正在加载...
feeMint
字符串
正在加载...
percent
整数
正在加载...
bps
整数
正在加载...
instructionVersion
字符串
正在加载...
contextSlot
整数
正在加载...
timeTaken
整数
正在加载...
请求