web3-utilsFunctionstoUnsignedtoUnsigned CallabletoUnsigned(num: bigint): BufferConverts a BigInt to an unsigned integer and returns it as a Buffer. Assumes 256-bit numbers.Parametersnum: bigintReturns Buffer
Converts a
BigInt
to an unsigned integer and returns it as aBuffer
. Assumes 256-bit numbers.