Get a quote for the requested tokens and amounts. This endpoint allows you to request quotes for one-to-one trades as well as multi token trades (one-to-many and many-to-one).
By default this is a gasless quote and will need to be submitted to /order
Specifying gasless=false to the API will return tx that can be used to self execute. You may also specify skip_validation for use cases where validations are a constraint.
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.
Standard, Short (5 seconds)
standard, short Fee (bps) to be charged for this quote
Success
Standard, Permit, Permit2