ethereumjs-monorepo

@ethereumjs/util


@ethereumjs/util / getVerkleTreeKeyForStorageSlot

Function: getVerkleTreeKeyForStorageSlot()

getVerkleTreeKeyForStorageSlot(address, storageKey, verkleCrypto): Promise<Uint8Array<ArrayBufferLike>>

Defined in: packages/util/src/verkle.ts:290

Asynchronously calculates the Verkle tree key for the specified storage slot.

Parameters

address

Address

The account address to access code for.

storageKey

bigint

The storage slot key to retrieve the verkle key for.

verkleCrypto

VerkleCrypto

The cryptographic object used for Verkle-related operations.

Returns

Promise<Uint8Array<ArrayBufferLike>>