Generate executable transaction bytecode from a quote. The quote must not be expired.
This endpoint also creates an Action to track the swap lifecycle and appends a DeframeTracking transaction at the end of transactionData. The returned actionId can be used to monitor the swap status via GET /actions/:id.
API key for authentication. Obtain from your Deframe dashboard.
Quote ID from /v2/swap/quote
"550e8400-e29b-41d4-a716-446655440000"
Address executing the swap on origin chain
"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
Address receiving tokens on destination chain
"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
Raw quote data from the quote response (stringified JSON). Some bridge providers require this for bytecode generation. Pass the value as-is from the quote response when present.
Bytecode generated successfully
1
Array of transactions to be executed in order. The last transaction is always a DeframeTracking call used to link on-chain activity to the Action.
ID of the Action created to track this swap. Use GET /actions/:id to monitor its status.
"64f1a2b3c4d5e6f7a8b9c0d1"