ethereumjs-monorepo

@ethereumjs/util


@ethereumjs/util / withdrawalToBytesArray

Function: withdrawalToBytesArray()

withdrawalToBytesArray(withdrawal): WithdrawalBytes

Defined in: packages/util/src/withdrawal.ts:36

Convert a withdrawal to a byte array

Parameters

withdrawal

the withdrawal to convert

WithdrawalData Withdrawal

Returns

WithdrawalBytes

byte array of the withdrawal