Generate transaction bytecode
Generate executable transaction bytecode from a quote. The quote must not be expired.
Authorizations
API key for authentication. Obtain from your Pods dashboard.
Body
Quote ID from /v2/swap/quote
"550e8400-e29b-41d4-a716-446655440000"
Fireblocks vault account ID. Required when output=fireblocks.
"12"
Address executing the swap on the origin chain (checksummed EVM or Solana public key)
"EXYhCNamLPFfSMekSn7Lzc2cP32aZpRa7ok5gErdJzcj"
Address receiving tokens on the destination chain (checksummed EVM or Solana public key). Required unless pixKey is provided.
"EXYhCNamLPFfSMekSn7Lzc2cP32aZpRa7ok5gErdJzcj"
Response format. Fireblocks output requires accountId. instructions is Solana-origin only.
bytecode, userOperation, fireblocks, instructions PIX key for fiat off-ramp routes. Use instead of destinationAddress.
Provider-specific raw quote data from the quote response. Pass this when the quote includes it.
Set to true for third-party PIX payouts. It must match the value used for the quote.
Optional per-quote webhook endpoint override. When set, it updates the quote webhookURL and is copied to the created action.
"https://example.com/webhooks/swap-action"
Response
Bytecode generated successfully
ID created for execution tracking
"65f1a2b3c4d5e6f789012345"
1
Transaction data for execution
- object[]
- object
Solana instructions when output=instructions (Solana-origin only)
Solana lookup tables keyed by address when output=instructions