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.
Parameters
Section titled “Parameters”bigint
Returns
Section titled “Returns”InstructionArg
Throws
Section titled “Throws”if value is negative or overflows u128.