POSTeth_getBlockAccessList

Ethereum Sepoliahttps://ethereum-sepolia.nodit.io/

Returns the block access list (EIP-7928) of the block specified by block number, block hash, or block tag, decoded into JSON.

A block access list records the accounts accessed or modified while executing the block, along with their storage, balance, nonce, and code changes. The blockAccessListHash in the block header is the hash that commits to this list. Every account entry contains all six fields, and lists with no changes are returned as empty arrays. The result is null if the block is unknown or the pending tag is specified.

Request Body
idintegerrequired
jsonrpcstringrequired
methodstringrequired
paramsoneOf[]required

Enter the following parameters as an array with the appropriate types.

  1. block identifier - Block number, block hash, or block tag for the block to query. The pending tag returns null.
    • Block number: Hexadecimal string (e.g. "0x1")
    • Block hash: 64-digit hexadecimal string (e.g. "0x39008d07edf93c03bb9d1cfc80598fcf63f441ec86e9de3733fa6a484980ca48")]
    • Block tag: Enum string (e.g. "latest", "earliest", "pending")
params[0]string

Use one of block hash, block number, or block tag to specify a block.

  • Block number: hex string (ex. "0x1")
  • Block hash: 64-character hex string (ex. "0x39008d07edf93c03bb9d1cfc80598fcf63f441ec86e9de3733fa6a484980ca48")]
  • Block tag: enum string (ex. "latest", "earliest", "pending")
    • earliest: The oldest available block on the chain.
    • finalized: A recently finalized block that can no longer be changed. Primarily used in proof-of-stake (PoS) blockchains.
    • safe: A recent block considered safe by the network (immune to reorgs).
    • latest: The most recent block on the chain (may be subject to reorgs).
    • pending: The next block to be mined, including pending transactions in the mempool.
Responses
jsonrpcstring
idinteger
addressstringrequired

Address of an account accessed during block execution

storageChangesobject[]required

Storage slots whose values changed

keystringrequired

Storage slot key (up to 32 bytes, hex — leading zeros may be omitted depending on the client)

changesobject[]required

Changes to this slot, by execution index

indexstringrequired

Execution index within the block where the change occurred (hex) — 0x0 is pre-execution system processing, 1–n is the n-th transaction in the block, and n+1 is post-execution processing (such as withdrawals).

valuestringrequired

Storage value after the change (up to 32 bytes, hex — leading zeros may be omitted depending on the client)

storageReadsstring[]required

Keys of storage slots that were read but not modified (up to 32 bytes, hex — leading zeros may be omitted depending on the client)

balanceChangesobject[]required

Balance changes, by execution index

indexstringrequired

Execution index within the block where the change occurred (hex) — 0x0 is pre-execution system processing, 1–n is the n-th transaction in the block, and n+1 is post-execution processing (such as withdrawals).

valuestringrequired

Balance after the change (wei, hex)

nonceChangesobject[]required

Nonce changes, by execution index

indexstringrequired

Execution index within the block where the change occurred (hex) — 0x0 is pre-execution system processing, 1–n is the n-th transaction in the block, and n+1 is post-execution processing (such as withdrawals).

valuestringrequired

Nonce after the change (hex)

codeChangesobject[]required

Contract code changes, by execution index

indexstringrequired

Execution index within the block where the change occurred (hex) — 0x0 is pre-execution system processing, 1–n is the n-th transaction in the block, and n+1 is post-execution processing (such as withdrawals).

codestringrequired

Contract bytecode after the change (hex)

X-API-KEY
RequestCU530
cURL
curl -X POST "https://ethereum-sepolia.nodit.io/" \
  -H "X-API-KEY: {YOUR_API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{
    "id": 1,
    "jsonrpc": "2.0",
    "method": "eth_getBlockAccessList",
    "params": [
      "latest"
    ]
  }'
Response
Example · 200
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": [
    {
      "address": "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b",
      "storageChanges": [
        {
          "key": "0x0000000000000000000000000000000000000000000000000000000000000000",
          "changes": [
            {
              "index": "0x0",
              "value": "0x0000000000000000000000000000000000000000000000000000000000000000"
            },
            {
              "index": "0x1",
              "value": "0x0000000000000000000000000000000000000000000000000000000000000100"
            }
          ]
        }
      ],
      "storageReads": [],
      "balanceChanges": [
        {
          "index": "0x0",
          "value": "0x56bc75e2d63100000"
        },
        {
          "index": "0x1",
          "value": "0x56bc75e2d63000000"
        }
      ],
      "nonceChanges": [
        {
          "index": "0x0",
          "value": "0x0"
        },
        {
          "index": "0x1",
          "value": "0x1"
        }
      ],
      "codeChanges": []
    }
  ]
}