1
Get a quote
Price the swap. You get back the best route across every venue plus an opaque
quoteToken.2
Execute
Hand the
quoteToken back. RAVN returns how to complete the swap, tagged by executionType.3
Complete it
Branch on
executionType. This is the entire client-side contract.4
Track it
Poll
status with the statusRef from execute, or the statusRef from submit-signature.Amounts are strings in the token’s smallest unit. Native coin uses the sentinel
0xEeee...EEeE. The quoteToken is opaque, so never parse it. It expires, so re-quote if it
goes stale.
