uplc.uplcencoder.encodenatural
Home > @blaze-cardano/uplc > UPLCEncoder > encodeNatural
UPLCEncoder.encodeNatural() method
Encodes a natural number (non-negative integer).
Signature:
encodeNatural(n: bigint): void;
Parameters
Parameter |
Type |
Description |
---|---|---|
n |
bigint |
The natural number to encode. |
Returns:
void