Skip to content

intLiteral

intLiteral(value): InstructionArg

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

CBOR-encode a plain integer (Rust u8…u128 / i8…i128) as a bare CBOR integer. Distinct from amountLiteral only above the CBOR integer range, where an Amount becomes a tag-2 bignum and this throws instead.

bigint

InstructionArg

if the magnitude exceeds the 64-bit CBOR integer range (128-bit bignum encoding is not supported).