Skip to content

amountLiteral

amountLiteral(value): InstructionArg

Defined in: ootle/src/helpers/cbor-literal.ts:87

CBOR-encode an Amount (u128) as the [lo_u64, hi_u64] pair the runtime deserialises via tari_bor.

bigint

InstructionArg

if value is negative or overflows u128.