Introduction to the Swapping Workflow
/check_approval
request.
/quote
request.
protocols
array (see more below).protocols
, the customer makes either an /order
or /swap
API request
/order
requests are submitted when the swap will be filled by a UniswapX RFQ market maker. In this case the order is “gasless” because the market maker will write the transaction to chain to fill the swap./swap
requests are submitted when the swap will be filled by a “classic” v2, v3, or v4 Uniswap protocol pool, or in the event that the swap is a bridge or a token wrap/unwrap. This is a “gasful” transaction because the customer will write the transaction to the chain to fill the swap.