@lelantos-org/sdk / index / Rounding
Type Alias: Rounding
ts
type Rounding = "exact" | "down" | "up";Defined in: @lelantos-org/sdk/dist/wallet/assets/amount.d.ts:127
Rounding applied when an amount does not land on a whole circuit unit.
"exact"refuses withINVALID_ARGUMENT."down"floors: the caller moves at most what they named."up"ceils: the smallest unit count worth at least what they named.