Skip to main content
POST
eth_getBlockAccessList
Ethereum API method that returns the block-level access list of a block, defined by EIP-7928. The list names every account the block touched and records each balance, nonce, code, and storage change with the position in the block where it happened, so you can see what a block changed without tracing or re-executing it.
eth_getBlockAccessList serves blocks produced after the Glamsterdam upgrade, which is active on Ethereum Sepolia. Ethereum Mainnet serves the method only after Glamsterdam activates there, so the Try it request on this page returns an error until then.
Get your own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.

Parameters

  • quantity, tag, or hash — the block number encoded as hexadecimal, a block tag such as latest, safe, or finalized, or a block hash.

Response

result — an array with one object per account the block touched, ordered by address. Each object has these fields, and a field with no changes is an empty array:
  • address — the account address.
  • balanceChanges — the account balance after each change, as {index, value} objects.
  • nonceChanges — the account nonce after each change, as {index, value} objects.
  • codeChanges — the account code after each change, as {index, value} objects.
  • storageChanges — the storage slots the block wrote, as {key, changes} objects, where changes lists the slot value after each change as {index, value} objects.
  • storageReads — the storage slots the block read but didn’t write.
index is the block access index of the change:
  • 0x0 — pre-execution system calls, such as the beacon block root and block hash history updates.
  • 0x1 to n — the transaction at transactionIndex index − 1, where n is the number of transactions in the block.
  • n + 1 — post-execution operations, such as withdrawals.
Storage keys, storage values, balances, and nonces are hex quantities without leading zeros, for example 0x1a1. Pad a storage key to 32 bytes before you compare it with keys used by eth_getStorageAt. The result is null for an unknown block or the pending tag. A request without a block parameter returns -32602.

eth_getBlockAccessList code examples

The examples read the access list of Ethereum Sepolia block 12267482 (0xbb2fda), which has 111 transactions and touched 268 accounts, and print the entry of the account 0x3d637318ae0d8212c5c1285a47374f4ae3e94957.
The following four entries come from the 268-entry response for block 0xbb2fda:
Response
How to read these entries:
  • 0x0000f90827f1c53a10cb7a02335b175320002935 and 0x000f3df6d732807ef1319fb7b8bb8522d0beac02 — the block hash history and beacon block root system contracts. Their writes have index 0x0, the pre-execution system calls.
  • 0x3d637318ae0d8212c5c1285a47374f4ae3e94957 and 0x09d42c9bac97930ea0825538fff29182a330f16f — the sender and recipient of transaction 0x0777400768f19e603dcf176d031ae201e54ae7bcf1f3ed237b084248a9a3c514, a plain ether transfer at transactionIndex 0x4d, so its changes have index 0x4e. The sender’s nonce and balance change; the recipient’s balance changes to the amount received.

Use case

One use case for eth_getBlockAccessList is building a state diff for each block. An indexer that tracks balances can read every balance change in a block from one response, including ether moved by contract calls and withdrawals, instead of tracing each transaction with debug_traceBlockByNumber.

Body

application/json
id
integer
default:1
jsonrpc
string
default:2.0
method
string
default:eth_getBlockAccessList
params
string[]

The block number encoded as hexadecimal, a block tag, or a block hash.

Response

200 - application/json

The block access list of the block

jsonrpc
string
id
integer
result
object[] | null

One entry per account the block touched, ordered by address. null for an unknown block or the pending tag.

Last modified on December 4, 2026