@ethereumjs/util / bigIntToAddressBytes
bigIntToAddressBytes(
value,strict?):Uint8Array
Defined in: packages/util/src/bytes.ts:365
Encode a bigint as a 20-byte address.
bigint
boolean = true
When true, reject values longer than 20 bytes instead of truncating
Uint8Array
If strict is true and the encoded value exceeds 20 bytes