/prepare/swap
GET/prepare/swap
GET
/prepare/swap
Prepare swap transactions using quote.
Parameters
Query Parameters
userAddress
required
string
The Algorand address to do the swap with.
slippageBps
required
integer
The slippage basis points to apply to swap quote.
txnPayload
required
string
The encoded transaction payload returned by fetch/quote.
Responses
200
OK.
Array of base64 encoded unsigned transaction which are grouped together.
Array<string>
400
Request validation error.
object
errors
Missing or malformed query params.
object
404
Request cannot be satisfied.
string