@ethereumjs/util / decodeVerkleLeafBasicData
decodeVerkleLeafBasicData(
encodedBasicData
):VerkleLeafBasicData
Defined in: packages/util/src/verkle.ts:309
This function extracts and decodes account header elements (version, nonce, code size, and balance)
from an encoded Uint8Array
representation of raw Verkle leaf-node basic data. Each component is sliced
from the encodedBasicData
array based on predefined offsets and lengths, and then converted
to its appropriate type (integer or BigInt).
Uint8Array
The encoded Verkle leaf basic data containing the version, nonce, code size, and balance in a compact Uint8Array format.