Get a quote for a token swap via solver competition. Solvers compete to offer the best price. By default returns a gasless quote that must be signed and submitted to /order. Set gasless=false to get a self-execution transaction.
Source auth token
The tokens that will be supplied by the taker
"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
The tokens that will be supplied by the maker
"0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"
The amount of each taker token, order respective to taker_tokens
"1000000000"
The amount of each maker token, order respective to maker_tokens
Address which will sign the order
"0x5Bad996643a924De21b6b2875c85C33F3c5bBcB6"
Address which will receive the taker tokens. (Defaults to taker_address if not specified)
Referral partner that will be associated with the quote.
Type of Approval for EVM: Standard/Permit/Permit2
Standard, Permit, Permit2 Ratios of maker tokens to receive for each taker token
Ratios of taker tokens to receive for each maker token
Set to false to receive call data and self execute.
The slippage to use
Original user of the quote if different than taker.
The list of solvers to include
The recipient of the fee
Fee (bps) to be charged for this quote
Successful Response
Standard, Permit, Permit2