Skip to content
docs

kyberMinimum

kyberMinimum(amountOut, bps): bigint

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

The minimum KyberSwap’s build encodes for amountOut at bps slippage: the expected output less the slippage, rounded down, less one more unit — the build endpoint always lands exactly one base unit under the plain floor(amountOut × (10000 − bps) / 10000) (18 chains, 2026-11-24). The quote shows this value, so the dry quote, the build and the check agree to the unit.

bigint

number

bigint