Changes to swap

POST /swap

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

Changed in 30 of the 50 revisions of this API.303058

  1. 3ffe3406c6731
  2. da69b85ffa8521
  3. 743e2d26177f1
  4. 18138545f5de733
  5. 5be338f86f7a1
  6. e81eaf0176e71
  7. d7eeb7e24ac41
  8. 2dd11b5a356a18
  9. 2638d3c163611
  10. 54e7268f9fc01
  11. 48dcc559a76121
  12. 5904b9a202ab5147
  13. 844f7905049f1
  14. 5747978e3d2f1
  15. 28930a2937da1
  16. 96d63febf8542
  17. 6d9459be1a301
  18. b91fdb8150d83
  19. 60b54df3a4852
  20. 0aa85ac2905b1
  21. 53cb304226261
  22. 6ba4cc1dd86f2
  23. 950ef4cf15921
  24. fff6d63fb2091
  25. dcb6874543461
  26. f90147586d4212
  27. 194dfbeeaeff2
  28. 4920fcf2645821
  29. 07f4d2386dec5
  30. 818caf41b8848108

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

  • 18138545f5de733See 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

    • 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

    • 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

  • 48dcc559a76121See the full diff
    • the lastValidBlockHeight response's property type/format changed from integer/ to number/ for status 200

      response-property-type-changed

    • the prioritizationFeeLamports response's property type/format changed from integer/ to number/ for status 200

      response-property-type-changed

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

      response-optional-property-added

  • 5904b9a202ab5147See 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

    • the response property prioritizationFeeLamports became optional for the status 200

      response-property-became-optional

    • 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 dynamicSlippageReport from the response with the 200 status

      response-optional-property-removed

    • removed the optional property prioritizationType 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

    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 optional property prioritizationType to the response with the 200 status

      response-optional-property-added

    • the response property prioritizationFeeLamports became required for the status 200

      response-property-became-required

    • 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 optional property dynamicSlippageReport/categoryName to the response with the 200 status

      response-optional-property-added

    • added the optional property dynamicSlippageReport/heuristicMaxSlippageBps to the response with the 200 status

      response-optional-property-added

    • 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 optional property dynamicSlippageReport to the response with the 200 status

      response-optional-property-added

    • 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

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

      response-optional-property-added

  • 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

  • 818caf41b8848108See 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

    • the lastValidBlockHeight response's property type/format changed from integer/uint64 to number/ for status 200

      response-property-type-changed

    • 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

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

      response-optional-property-removed

    • api operation id SwapPost 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

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