@ethereumjs/util / encodeBinaryTreeLeafBasicData
encodeBinaryTreeLeafBasicData(
account
):Uint8Array
Defined in: packages/util/src/binaryTree.ts:280
This function takes a BinaryTreeLeafBasicData
object and encodes its properties
(version, nonce, code size, and balance) into a compact Uint8Array
format. Each
property is serialized and padded to match the required byte lengths defined by
EIP-7864. Additionally, 4 bytes are reserved for future use as specified
in EIP-7864.
An object containing the version, nonce, code size, and balance to be encoded.
Uint8Array