ethereumjs-monorepo

@ethereumjs/util


@ethereumjs/util / bigIntToUnpaddedBytes

Function: bigIntToUnpaddedBytes()

bigIntToUnpaddedBytes(value): Uint8Array

Defined in: packages/util/src/bytes.ts:374

Convert value from bigint to an unpadded Uint8Array (useful for RLP transport)

Parameters

value

bigint

the bigint to convert

Returns

Uint8Array