tuweni / org.apache.tuweni.evm / TransactionalEVMHostContext / getStorage

getStorage

suspend fun getStorage(address: Address, key: Bytes32): Bytes32 (source)

Get storage function.

This function is used by a VM to query the given account storage entry.

Parameters

address - The address of the account.

key - The index of the account's storage entry.

Return
The storage value at the given storage key or null bytes if the account does not exist.