@ethereumjs/util / bigIntToBytes
bigIntToBytes(
num,littleEndian?):Uint8Array
Defined in: packages/util/src/bytes.ts:110
Convert a bigint to minimal big-endian bytes (optionally little-endian).
bigint
boolean = false
When true, reverse the output byte order
Uint8Array