zeroExVerifyQuote
zeroExVerifyQuote(
params,quote,ctx):string|null
Defined in: protocol-swap2-0x/src/remote.ts:65
A remote 0x quote, held to the request the app sent. Null when it passes, the reason otherwise.
An indicative quote (dry) carries no transaction and only its amounts are checked. A live quote must carry one,
and it goes through checkZeroExTransaction with an expectation built only from params: the sell token and
amount, the buy token, the app’s recipient, the quote’s minimum (itself held to the requested slippage and floor),
the chain’s pins and the Settlers the app resolved. It may stay valid no longer than its Permit2 deadline (a token
sale) or ZEROEX_MAX_NATIVE_QUOTE_SECONDS from now (a native-coin sale).
Parameters
Section titled “Parameters”params
Section titled “params”Returns
Section titled “Returns”string | null