Client and backend. This class is shared: the same code is compiled into your app and into your server, so everything on this page works in both.

public static final class EvmTransaction.AccessEntry

  1. Object
  2. EvmTransaction.AccessEntry
One access-list entry: an address and the storage slots the transaction will touch.

Constructors

public AccessEntry(EvmAddress address, List<byte[]> storageKeys)An entry for address with 32-byte storageKeys (may be empty).

Methods

public EvmAddress getAddress()The address.
public int getStorageKeyCount()The number of storage keys.
public byte[] getStorageKey(int index)A copy of a storage key.

Inherited methods

Constructor details

AccessEntry

public AccessEntry(EvmAddress address, List<byte[]> storageKeys)
An entry for address with 32-byte storageKeys (may be empty).

Method details

getAddress

public EvmAddress getAddress()
The address.

getStorageKeyCount

public int getStorageKeyCount()
The number of storage keys.

getStorageKey

public byte[] getStorageKey(int index)
A copy of a storage key.