Turn a quote into a signable transaction
Authorizations
apikeystringRequired
API key for authentication
Body
A quote plus the wallet that will sign it.
chainstring · enumRequiredExample:
Chain the quote is on: 'solana' or 'base'
solanaPossible values: wallet_addressstringRequiredExample:
Wallet that will sign and send the transaction
BqLNQpXhtRosNTFvJnCFbwtxUAmVoJBqYCKGYqA6vLzTskip_simulationbooleanOptionalDefault:
Skip the pre-signing simulation. Simulation catches failures before you spend a signature, so leave this off unless you are re-preparing a quote you have already validated.
falseResponses
200
An unsigned transaction ready to sign
application/json
400
Bad Request
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
404
Not Found
application/json
422
Unprocessable Content
application/json
429
Too Many Requests
application/json
500
Internal Server Error
application/json
502
Bad Gateway
application/json
503
Service Unavailable
application/json
504
Gateway Timeout
application/json
post/api/v1/trade/prepare
Last updated
Was this helpful?