본문으로 건너뛰기

/swap-instructions REST API Endpoint - Swap API

로딩 중...

업데이트됨:
2026년 8월 9일

/swap-instructions REST API Endpoint - Swap API

Please note that this method is available for Free and Paid subscribers of Swap API, along with jupiterapi.com users.
Solana Kit includes the ability to customize RPC methods and transports, allowing you to seamlessly integrate Quicknode add-ons into your applications. For more information on how to use Quicknode 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)

GooseFX Gamma API: When using the /quote endpoint with the setting of dexes=Gamma, you should include the query parameter dexes=Gamma when using this endpoint if you want to route directly to the GooseFX Gamma API. This is in addition to setting dexes=Gamma on your initial /quote request.

쿼리 매개변수

userPublicKey
문자열
필수
로딩 중...
지불자
문자열
로딩 중...
wrapAndUnwrapSol
부울
로딩 중...
useSharedAccounts
부울
로딩 중...
feeAccount
문자열
로딩 중...
trackingAccount
문자열
로딩 중...
computeUnitPriceMicroLamports
정수
로딩 중...
prioritizationFeeLamports
객체
로딩 중...
priorityLevelWithMaxLamports
객체
로딩 중...
priorityLevel
문자열
로딩 중...
maxLamports
정수
로딩 중...
global
부울
로딩 중...
jitoTipLamports
정수
로딩 중...
jitoTipLamportsWithPayer
객체
로딩 중...
lamports
정수
필수
로딩 중...
지불자
문자열
필수
로딩 중...
asLegacyTransaction
부울
로딩 중...
destinationTokenAccount
문자열
로딩 중...
nativeDestinationAccount
문자열
로딩 중...
dynamicComputeUnitLimit
부울
로딩 중...
skipUserAccountsRpcCalls
부울
로딩 중...
dynamicSlippage
부울
로딩 중...
blockhashSlotsToExpiry
정수
로딩 중...
quoteResponse
객체
필수
로딩 중...
inputMint
문자열
필수
로딩 중...
inAmount
문자열
필수
로딩 중...
outputMint
문자열
필수
로딩 중...
outAmount
문자열
필수
로딩 중...
otherAmountThreshold
문자열
필수
로딩 중...
swapMode
문자열
필수
로딩 중...
slippageBps
정수
필수
로딩 중...
platformFee
객체
로딩 중...
금액
문자열
로딩 중...
feeBps
정수
로딩 중...
priceImpactPct
문자열
필수
로딩 중...
routePlan
배열
필수
로딩 중...
swapInfo
객체
필수
로딩 중...
ammKey
문자열
필수
로딩 중...
label
문자열
로딩 중...
inputMint
문자열
필수
로딩 중...
outputMint
문자열
필수
로딩 중...
inAmount
문자열
필수
로딩 중...
outAmount
문자열
필수
로딩 중...
feeAmount
문자열
필수
로딩 중...
feeMint
문자열
필수
로딩 중...
percent
정수
필수
로딩 중...
bps
정수
로딩 중...
instructionVersion
문자열
로딩 중...
contextSlot
정수
로딩 중...
timeTaken
정수
로딩 중...

반품

tokenLedgerInstruction
객체
로딩 중...
programId
문자열
로딩 중...
계정
배열
로딩 중...
pubkey
문자열
로딩 중...
isSigner
부울
로딩 중...
isWritable
부울
로딩 중...
데이터
문자열
로딩 중...
computeBudgetInstructions
배열
로딩 중...
programId
문자열
로딩 중...
계정
배열
로딩 중...
pubkey
문자열
로딩 중...
isSigner
부울
로딩 중...
isWritable
부울
로딩 중...
데이터
문자열
로딩 중...
setupInstructions
배열
로딩 중...
programId
문자열
로딩 중...
계정
배열
로딩 중...
pubkey
문자열
로딩 중...
isSigner
부울
로딩 중...
isWritable
부울
로딩 중...
데이터
문자열
로딩 중...
swapInstruction
객체
로딩 중...
programId
문자열
로딩 중...
계정
배열
로딩 중...
pubkey
문자열
로딩 중...
isSigner
부울
로딩 중...
isWritable
부울
로딩 중...
데이터
문자열
로딩 중...
cleanupInstruction
객체
로딩 중...
programId
문자열
로딩 중...
계정
배열
로딩 중...
pubkey
문자열
로딩 중...
isSigner
부울
로딩 중...
isWritable
부울
로딩 중...
데이터
문자열
로딩 중...
otherInstructions
배열
로딩 중...
addressLookupTableAddresses
배열
로딩 중...
prioritizationFeeLamports
정수
로딩 중...
요청
아직 계정이 없으신가요?
단 몇 초endpoint Quicknode endpoint 생성하고 개발을 시작하세요
무료로 시작하기