POSTdebug_getRawBlockAccessList

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 as raw RLP-encoded bytes.

To get the same content as JSON, use eth_getBlockAccessList. A block with no state accesses returns the empty RLP list 0xc0. Specifying an unknown block returns the -32001 error.

Request Body
idintegerrequired
jsonrpcstringrequired
methodstringrequired
paramsoneOf[]required

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

  1. block identifier - Block number, block hash, or block tag.
    • Block number: hex string (ex. "0x1")
    • Block hash: 64-character hex string (ex. "0x39008d07edf93c03bb9d1cfc80598fcf63f441ec86e9de3733fa6a484980ca48")]
    • Block tag: enum string (ex. "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
resultstring

The RLP-encoded block access list (hex bytes). A block with no state accesses returns the empty RLP list 0xc0.

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": "debug_getRawBlockAccessList",
    "params": [
      "latest"
    ]
  }'
Response
Example ยท 200
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": "0xc0"
}