Skip to main content
POST
Create trade v2 swap transaction

Authorizations

x-api-key
string
header
required

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

Body

application/json
requestId
string
required

UUID of a previously fetched trade/v2/quote response

userPublicKey
string
required

Public key of the wallet that will sign the swap; must match the quote's taker

Response

Successfully created trade v2 swap transaction

success
boolean
required
Example:

true

response
object