Swaps

Changes to Create Swap Quote

post/swaps/quote
    • info

      added the required property mid_market_rate to the response with the status

    • info

      the endpoint scheme security bearerAuth was added to the API

    • info

      added the new optional request property account_id

    • info

      added the new optional request property user_id

    • info

      added the non-success response with the status

    • info

      added the optional property error/code to the response with the status

    • info

      added the new optional header request parameter Idempotency-Key

    • breaking

      the request property from_address became not nullable

    • breaking

      the request property from_chain became not nullable

    • breaking

      the request property slippage_bps became not nullable

    • breaking

      the request property to_address became not nullable

    • breaking

      the request property to_chain became not nullable

    • info

      request property from_chain list-of-types was widened by adding types null to media type application/json

    • info

      request property to_chain list-of-types was widened by adding types null to media type application/json