Skip to main content

order

Retrieve a swap order to be used in POST /ultra/v1/execute.

Refer to Ultra API doc for more information.

Query Parameters
inputMint string REQUIRED
outputMint string REQUIRED
amount string REQUIRED
taker string
Responses
200

Successful response

Schema OPTIONAL
environment string OPTIONAL

Possible values: [canary, production]

inputMint string
outputMint string
inAmount string
outAmount string
otherAmountThreshold string
swapMode string
slippageBps number
priceImpactPct string
routePlan object[]
swapInfo object
ammKey string
label string
inputMint string
outputMint string
inAmount string
outAmount string
feeAmount string
feeMint string
percent number
contextSlot number OPTIONAL
feeBps number
prioritizationType string

Possible values: [None, ComputeBudget, Jito]

prioritizationFeeLamports number
swapType string

Possible values: [aggregator, rfq]

transaction string,null
gasless boolean
requestId string
totalTime number
taker string,null
quoteId string OPTIONAL
maker string OPTIONAL
expireAt string OPTIONAL
lastValidBlockHeight number OPTIONAL
platformFee object OPTIONAL
amount string
feeBps number
dynamicSlippageReport object OPTIONAL
amplificationRatio string,null
otherAmount number
simulatedIncurredSlippageBps number
slippageBps number
categoryName string
heuristicMaxSlippageBps number
400

Bad request

Schema OPTIONAL
error string
500

Internal server error

Schema OPTIONAL
error string