Skip to content
docs

minPriceX128For

minPriceX128For(amountIn, minOut): bigint

Defined in: protocol-swap2-chainflip/src/codec.ts:158

minPriceX128 for a guaranteed output: ceil(minOut × 2^128 / amountIn) (base units on both sides carry the decimals).

bigint

bigint

bigint