Changes to swap-instructions

POST /swap-instructions

Every recorded change to this endpoint, newest first. Back to the operation

Changed in 29 of the 50 revisions of this API.332859

  1. 3ffe3406c6731
  2. da69b85ffa8521
  3. 743e2d26177f1
  4. 18138545f5de734
  5. 5be338f86f7a1
  6. e81eaf0176e71
  7. d7eeb7e24ac41
  8. 2dd11b5a356a68
  9. 2638d3c163611
  10. 54e7268f9fc01
  11. 0f26ccf8eb055
  12. 48dcc559a7611
  13. 5904b9a202ab4138
  14. 844f7905049f1
  15. 5747978e3d2f1
  16. 28930a2937da1
  17. 6d9459be1a301
  18. b91fdb8150d83
  19. 0aa85ac2905b1
  20. 53cb304226261
  21. 6ba4cc1dd86f1
  22. 950ef4cf15921
  23. fff6d63fb2091
  24. dcb6874543461
  25. f90147586d4212
  26. 194dfbeeaeff1
  27. 4920fcf2645821
  28. 07f4d2386dec5
  29. 818caf41b884899

What changed

    • added the new optional request property quoteResponse/instructionVersion

      new-optional-request-property

  • da69b85ffa8521See the full diff
    • removed the request property quoteResponse/routePlan/items/swapInfo/feeAmount

      request-property-removed

    • removed the request property quoteResponse/routePlan/items/swapInfo/feeMint

      request-property-removed

    • the request property quoteResponse/routePlan/items/percent became nullable

      request-property-became-nullable

    • added the new optional request property nativeDestinationAccount

      new-optional-request-property

  • 18138545f5de734See the full diff
    • the blockhashSlotsToExpiry request property type/format changed from integer/ to integer/uint8

      request-property-type-changed

    • the computeUnitPriceMicroLamports request property type/format changed from integer/ to integer/uint64

      request-property-type-changed

    • the prioritizationFeeLamports request property type/format changed from object/ to /

      request-property-type-changed

    • the quoteResponse/contextSlot request property type/format changed from number/ to integer/uint64

      request-property-type-changed

    • the quoteResponse/platformFee/feeBps request property type/format changed from integer/int32 to integer/uint16

      request-property-type-changed

    • the quoteResponse/routePlan/items/percent request property type/format changed from integer/int32 to integer/uint8

      request-property-type-changed

    • the quoteResponse/slippageBps request property type/format changed from integer/int32 to integer/uint16

      request-property-type-changed

    • the quoteResponse/slippageBps request property's min was set to 0.00

      request-property-min-set

    • removed the request property prioritizationFeeLamports/jitoTipLamports

      request-property-removed

    • removed the request property prioritizationFeeLamports/priorityLevelWithMaxLamports

      request-property-removed

    • added the new optional request property quoteResponse/routePlan/items/bps

      new-optional-request-property

    • the request property quoteResponse/routePlan/items/percent became optional

      request-property-became-optional

    • added PriorityLevelWithMaxLamports JitoTipLamports JitoTipLamportsWithPayer to the prioritizationFeeLamports request property oneOf list

      request-property-one-of-added

    • the response property otherInstructions became required for the status 200

      response-property-became-required

    • added the new optional request property payer

      new-optional-request-property

    • endpoint added

      endpoint-added

    • api path removed without deprecation

      api-path-removed-without-deprecation

    • request property prioritizationFeeLamports/priorityLevelWithMaxLamports/priorityLevel was restricted to a list of enum values

      request-property-became-enum

    • the response property otherInstructions became optional for the status 200

      response-property-became-optional

    • the otherInstructions response's property type/format changed from object/ to array/ for status 200

      response-property-type-changed

    • removed the required property otherInstructions/accounts from the response with the 200 status

      response-required-property-removed

    • removed the required property otherInstructions/data from the response with the 200 status

      response-required-property-removed

    • removed the required property otherInstructions/programId from the response with the 200 status

      response-required-property-removed

    • added the new optional request property blockhashSlotsToExpiry

      new-optional-request-property

    • the dynamicComputeUnitLimit request property default value false was added

      request-property-default-value-added

    • the dynamicSlippage request property default value false was added

      request-property-default-value-added

    • the skipUserAccountsRpcCalls request property default value false was added

      request-property-default-value-added

    • the useSharedAccounts request property default value true was removed

      request-property-default-value-removed

    • added the new high enum value to the request property prioritizationFeeLamports/priorityLevelWithMaxLamports/priorityLevel

      request-property-enum-value-added

    • added the new medium enum value to the request property prioritizationFeeLamports/priorityLevelWithMaxLamports/priorityLevel

      request-property-enum-value-added

    • added the new veryHigh enum value to the request property prioritizationFeeLamports/priorityLevelWithMaxLamports/priorityLevel

      request-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

    • added the required property blockhashWithMetadata to the response with the 200 status

      response-required-property-added

    • added the required property computeUnitLimit to the response with the 200 status

      response-required-property-added

    • added the required property otherInstructions to the response with the 200 status

      response-required-property-added

    • added the required property prioritizationFeeLamports to the response with the 200 status

      response-required-property-added

    • added the required property prioritizationType to the response with the 200 status

      response-required-property-added

    • removed the required property otherInstructions from the response with the 200 status

      response-required-property-removed

  • 5904b9a202ab4138See the full diff
    • removed subschema #1 subschema #2 from the prioritizationFeeLamports request property anyOf list

      request-property-any-of-removed

    • request property computeUnitPriceMicroLamports list-of-types was narrowed by removing types string from media type application/json

      request-property-list-of-types-narrowed

    • the dynamicSlippage request property type/format changed from object/ to boolean/

      request-property-type-changed

    • the prioritizationFeeLamports request property type/format changed from / to object/

      request-property-type-changed

    • removed the request property addConsensusAccount

      request-property-removed

    • removed the request property allowOptimizedWrappedSolTokenAccount

      request-property-removed

    • removed the request property blockhashSlotsToExpiry

      request-property-removed

    • removed the request property correctLastValidBlockHeight

      request-property-removed

    • removed the request property dynamicSlippage/maxBps

      request-property-removed

    • removed the request property dynamicSlippage/minBps

      request-property-removed

    • removed the request property payer

      request-property-removed

    • removed the request property programAuthorityId

      request-property-removed

    • removed the request property quoteResponse/computedAutoSlippage

      request-property-removed

    • removed the request property quoteResponse/simplerRouteUsed

      request-property-removed

    • removed the request property quoteResponse/swapUsdValue

      request-property-removed

    • removed the request property useTokenLedger

      request-property-removed

    • removed the optional property tokenLedgerInstruction from the response with the 200 status

      response-optional-property-removed

    • api tag Swap added

      api-tag-added

    • added the new optional request property prioritizationFeeLamports/jitoTipLamports

      new-optional-request-property

    • added the new optional request property prioritizationFeeLamports/priorityLevelWithMaxLamports

      new-optional-request-property

    • added the new optional request property trackingAccount

      new-optional-request-property

    • the request property quoteResponse/platformFee/amount became optional

      request-property-became-optional

    • the request property quoteResponse/platformFee/feeBps became optional

      request-property-became-optional

    • the request property quoteResponse/routePlan/items/swapInfo/label became optional

      request-property-became-optional

    • added the required property otherInstructions to the response with the 200 status

      response-required-property-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • added the new optional request property quoteResponse/simplerRouteUsed

      new-optional-request-property

    • added the new optional request property quoteResponse/swapUsdValue

      new-optional-request-property

    • added the new optional request property addConsensusAccount

      new-optional-request-property

    • added the new optional request property payer

      new-optional-request-property

    • the request property quoteResponse/platformFee/amount became required

      request-property-became-required

    • the request property quoteResponse/platformFee/feeBps became required

      request-property-became-required

    • the request property quoteResponse/routePlan/items/swapInfo/label became required

      request-property-became-required

    • added the new optional request property correctLastValidBlockHeight

      new-optional-request-property

    • added the new optional request property blockhashSlotsToExpiry

      new-optional-request-property

    • added the new optional request property dynamicSlippage

      new-optional-request-property

    • added the new optional request property allowOptimizedWrappedSolTokenAccount

      new-optional-request-property

    • added the new optional request property programAuthorityId

      new-optional-request-property

    • added the new optional request property quoteResponse/computedAutoSlippage

      new-optional-request-property

  • f90147586d4212See the full diff
    • removed the request property restrictIntermediateTokens

      request-property-removed

    • request property computeUnitPriceMicroLamports list-of-types was widened by adding types string to media type application/json

      request-property-list-of-types-widened

    • request property prioritizationFeeLamports list-of-types was widened by adding types string to media type application/json

      request-property-list-of-types-widened

    • added the new optional request property skipUserAccountsRpcCalls

      new-optional-request-property

  • 4920fcf2645821See the full diff
    • the computeUnitPriceMicroLamports request property type/format changed from integer/ to integer string/

      request-property-type-changed

    • the prioritizationFeeLamports request property type/format changed from integer/ to integer string/

      request-property-type-changed

    • added the new optional request property restrictIntermediateTokens

      new-optional-request-property

    • added the new optional request property prioritizationFeeLamports

      new-optional-request-property

    • the asLegacyTransaction request property default value false was added

      request-property-default-value-added

    • the useSharedAccounts request property default value true was added

      request-property-default-value-added

    • the useTokenLedger request property default value false was added

      request-property-default-value-added

    • the wrapAndUnwrapSol request property default value true was added

      request-property-default-value-added

  • 818caf41b884899See the full diff
    • added the new required request property quoteResponse/routePlan/items/swapInfo/feeAmount

      new-required-request-property

    • added the new required request property quoteResponse/routePlan/items/swapInfo/feeMint

      new-required-request-property

    • the request property quoteResponse/routePlan/items/percent became not nullable

      request-property-became-not-nullable

    • the request property quoteResponse/routePlan/items/percent became required

      request-property-became-required

    • the quoteResponse/platformFee/feeBps request property type/format changed from integer/uint16 to integer/int32

      request-property-type-changed

    • the quoteResponse/routePlan/items/percent request property type/format changed from integer/uint8 to integer/int32

      request-property-type-changed

    • the quoteResponse/slippageBps request property type/format changed from integer/uint16 to integer/int32

      request-property-type-changed

    • removed the required property otherInstructions from the response with the 200 status

      response-required-property-removed

    • removed the request property blockhashSlotsToExpiry

      request-property-removed

    • removed the request property dynamicSlippage

      request-property-removed

    • removed the request property nativeDestinationAccount

      request-property-removed

    • removed the request property payer

      request-property-removed

    • removed the request property prioritizationFeeLamports

      request-property-removed

    • removed the request property quoteResponse/instructionVersion

      request-property-removed

    • removed the request property quoteResponse/routePlan/items/bps

      request-property-removed

    • removed the request property skipUserAccountsRpcCalls

      request-property-removed

    • removed the request property trackingAccount

      request-property-removed

    • api operation id SwapInstructionsPost removed and replaced with

      api-operation-id-removed

    • api tag Swap removed

      api-tag-removed

    • added the new optional request property useTokenLedger

      new-optional-request-property

    • the asLegacyTransaction request property default value false was removed

      request-property-default-value-removed

    • the dynamicComputeUnitLimit request property default value false was removed

      request-property-default-value-removed

    • the wrapAndUnwrapSol request property default value true was removed

      request-property-default-value-removed

    • the computeUnitPriceMicroLamports request property type/format was generalized from integer/uint64 to integer/

      request-property-type-generalized

    • the quoteResponse/contextSlot request property type/format was generalized from integer/uint64 to number/

      request-property-type-generalized

    • added the optional property tokenLedgerInstruction to the response with the 200 status

      response-optional-property-added

    This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog