POST /api/v1/swap — Build an unsigned swap transaction ready to sign and submit.
Parameters for building a swap transaction.
User's wallet address that will sign and execute the transaction.
"9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM"
Input token mint address.
"So11111111111111111111111111111111111111112"
Output token mint address.
"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"
Amount in smallest token units.
"1000000000"
ExactIn: amount is exact input. ExactOut: amount is exact desired output.
ExactIn, ExactOut "ExactIn"
Slippage tolerance in basis points. Default: 50 (0.5%).
50
Skip transaction simulation. Faster but no pre-flight validation. Default: false.
false