swap-instructions
Request for swap instructions that you can use from the quote you get from /quote
Request body
Response
Successful response
Changes
Changed in 29 of the 50 revisions of this API.332859
- ○
added the new optional request property
quoteResponse/instructionVersionnew-optional-request-property
- ○
- ●
removed the request property
quoteResponse/routePlan/items/swapInfo/feeAmountrequest-property-removed
- ●
removed the request property
quoteResponse/routePlan/items/swapInfo/feeMintrequest-property-removed
- ○
the request property
quoteResponse/routePlan/items/percentbecame nullablerequest-property-became-nullable
- ●
- ○
added the new optional request property
nativeDestinationAccountnew-optional-request-property
- ○
- ▲
the
blockhashSlotsToExpiryrequest property type/format changed frominteger/tointeger/uint8request-property-type-changed
- ▲
the
computeUnitPriceMicroLamportsrequest property type/format changed frominteger/tointeger/uint64request-property-type-changed
- ▲
the
prioritizationFeeLamportsrequest property type/format changed fromobject/to/request-property-type-changed
- ▲
the
quoteResponse/contextSlotrequest property type/format changed fromnumber/tointeger/uint64request-property-type-changed
- ▲
the
quoteResponse/platformFee/feeBpsrequest property type/format changed frominteger/int32tointeger/uint16request-property-type-changed
- ▲
the
quoteResponse/routePlan/items/percentrequest property type/format changed frominteger/int32tointeger/uint8request-property-type-changed
- ▲
the
quoteResponse/slippageBpsrequest property type/format changed frominteger/int32tointeger/uint16request-property-type-changed
- ●
the
quoteResponse/slippageBpsrequest property's min was set to0.00request-property-min-set
- ●
removed the request property
prioritizationFeeLamports/jitoTipLamportsrequest-property-removed
- ●
removed the request property
prioritizationFeeLamports/priorityLevelWithMaxLamportsrequest-property-removed
- ○
added the new optional request property
quoteResponse/routePlan/items/bpsnew-optional-request-property
- ○
the request property
quoteResponse/routePlan/items/percentbecame optionalrequest-property-became-optional
- ○
added
PriorityLevelWithMaxLamportsJitoTipLamportsJitoTipLamportsWithPayerto theprioritizationFeeLamportsrequest propertyoneOflistrequest-property-one-of-added
- ○
the response property
otherInstructionsbecame required for the status200response-property-became-required
- ▲
- ○
added the new optional request property
payernew-optional-request-property
- ○
- ○
endpoint added
endpoint-added
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
- ▲
- ▲
request property
prioritizationFeeLamports/priorityLevelWithMaxLamports/priorityLevelwas restricted to a list of enum valuesrequest-property-became-enum
- ▲
the response property
otherInstructionsbecame optional for the status200response-property-became-optional
- ▲
the
otherInstructionsresponse's property type/format changed fromobject/toarray/for status200response-property-type-changed
- ▲
removed the required property
otherInstructions/accountsfrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
otherInstructions/datafrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
otherInstructions/programIdfrom the response with the200statusresponse-required-property-removed
- ○
added the new optional request property
blockhashSlotsToExpirynew-optional-request-property
- ○
the
dynamicComputeUnitLimitrequest property default valuefalsewas addedrequest-property-default-value-added
- ○
the
dynamicSlippagerequest property default valuefalsewas addedrequest-property-default-value-added
- ○
the
skipUserAccountsRpcCallsrequest property default valuefalsewas addedrequest-property-default-value-added
- ○
the
useSharedAccountsrequest property default valuetruewas removedrequest-property-default-value-removed
- ○
added the new
highenum value to the request propertyprioritizationFeeLamports/priorityLevelWithMaxLamports/priorityLevelrequest-property-enum-value-added
- ○
added the new
mediumenum value to the request propertyprioritizationFeeLamports/priorityLevelWithMaxLamports/priorityLevelrequest-property-enum-value-added
- ○
added the new
veryHighenum value to the request propertyprioritizationFeeLamports/priorityLevelWithMaxLamports/priorityLevelrequest-property-enum-value-added
- ▲
- ○
endpoint added
endpoint-added
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲