kyberValueLossBps
kyberValueLossBps(
amountInUsd,amountOutUsd):number|null
Defined in: protocol-swap2-kyberswap/src/provider.ts:158
KyberSwap’s own USD value of the output against the input, as basis points lost (pool impact and pool fees together). Information for the user’s “be careful” warning, never a refusal. null when KyberSwap does not price either side (“0” means unpriced, not worthless) or the numbers are not plain decimals.
Parameters
Section titled “Parameters”amountInUsd
Section titled “amountInUsd”unknown
amountOutUsd
Section titled “amountOutUsd”unknown
Returns
Section titled “Returns”number | null