intLiteral
intLiteral(
value):InstructionArg
Defined in: ootle/src/helpers/cbor-literal.ts:109
CBOR-encode a plain integer (Rust u8…u128 / i8…i128) as a bare CBOR
integer. Distinct from amountLiteral, which encodes the Amount type
as a two-element array.
Parameters
Section titled “Parameters”bigint
Returns
Section titled “Returns”InstructionArg
Throws
Section titled “Throws”if the magnitude exceeds the 64-bit CBOR integer range (128-bit bignum encoding is not supported).