Skip to content

@lelantos-org/sdk / index / circuitAmount

Function: circuitAmount() โ€‹

ts
function circuitAmount(value): CircuitAmount;

Defined in: @lelantos-org/sdk/dist/core/brand.d.ts:75

Brand a circuit-unit amount. Prefer parseAmount(value, asset), which derives it from a human decimal string.

Parameters โ€‹

ParameterType
valuebigint

Returns โ€‹

CircuitAmount

Throws โ€‹

when negative.

Lelantosno cookies ๐Ÿช ยท no tracking ๐Ÿ‘๏ธ ยท no accounts ๐Ÿ‘คwalletexplorer4536080GitHub