Skip to content

intLiteral

intLiteral(value): InstructionArg

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

CBOR-encode a plain integer (Rust u8u128 / i8i128) as a bare CBOR integer. Distinct from amountLiteral, which encodes the Amount type as a two-element array.

bigint

InstructionArg

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