Skip to main content
POST
Create swap transaction

Authorizations

x-api-key
string
header
required

API key authentication. Provide your API key as the header value.

Body

application/json
quoteResponse
object
required

The quote response from the getQuote endpoint

userPublicKey
string
required

Public key of the user's wallet

Response

Successfully created swap transaction

success
boolean
required
Example:

true

response
object