ethereumjs-monorepo

@ethereumjs/util


@ethereumjs/util / withdrawalToBytesArray

Function: withdrawalToBytesArray()

withdrawalToBytesArray(withdrawal): WithdrawalBytes

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

Convert a withdrawal to a byte array

Parameters

withdrawal

WithdrawalData | Withdrawal

the withdrawal to convert

Returns

WithdrawalBytes

byte array of the withdrawal