Request
Response
The response contains the intent ID, the deadline, and the data the user must sign.Approval mechanism
The approval flow depends on the source chain and swap type. The value ofapproval_mechanism may change, and the structure of params_to_sign depends on it. Always check approval_mechanism and handle params_to_sign accordingly.
- Permit2 (EVM, Tron)
- HTLC (Bitcoin)
- RGB lock (RGB USDT)
- Cosign (Solana)
domain, types, and witness contain the EIP-712 domain, types, and witness data (shortened here).