The coin balance in the smallest on-chain unit, such as 1_000_000_000n
for one 9-decimal coin.
OptionaldecimalsThe coin's display precision. It is absent when the API did not return coin metadata for this pool.
The scalar that converts balance into normalizedBalance for the
invariant calculation.
The fixed-point fee applied when a liquidity deposit adds this coin.
The normalized balance consumed by the local AMM math.
The fixed-point fee applied when a swap sends this coin into the pool.
The fixed-point fee applied when a swap sends this coin out of the pool.
The coin's fixed-point weight. Divide by 1e18 to read the decimal
fraction used by the invariant.
The fixed-point fee applied when a liquidity withdrawal removes this coin.
Details about a coin in the pool, including the on-chain balance, trade fees (in/out), deposit/withdraw fees, and decimal scaling factors.