Skip to content
docs

kyberVerifyQuote

kyberVerifyQuote(params, quote): string | null

Defined in: protocol-swap2-kyberswap/src/router.ts:275

The app’s own check of a KyberSwap quote (behind remoteProvider, or on any quote): one chain, the exact input, a minimum at or under the expected output, within the slippage (default KYBER_DEFAULT_SLIPPAGE_BPS) and at or above the caller’s floor; an execution quote’s transaction must pass checkKyberTransaction against this app’s request. A dry quote carries no transaction. The reason it fails, or null.

QuoteParams

Quote

string | null