🔵 Base
debug_getModifiedAccountsByHash

🛠️ debug_getModifiedAccountsByHash RPC Method (Base Chain)

The debug_getModifiedAccountsByHash method returns an array of all modified addresses (contracts) in a given block by its hash. This is useful for debugging and tracing state changes on the Base chain (an Ethereum Layer 2 built by Coinbase).

Parameters

  • block hash (required) — The hash of the block to inspect.

Returns

  • array — A list of addresses (in hex format) that were modified in the specified block.

Need RPC API keys?

Get 12.5M archival requests for free today.

Request

POST https://base-mainnet.chainnodes.org/YOUR-API-KEY
curl https://base-mainnet.chainnodes.org/YOUR-API-KEY \
  -X POST \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc":"2.0",
    "method":"debug_getModifiedAccountsByHash",
    "params": [
      "0x47b0778abf13535354f63d0c345c7c08d483529551c2599cec536f1947c88763"
    ],
    "id":1
  }'

Body

{
  "jsonrpc": "2.0",
  "id": 1,
  "result": [
    "0x265241f900da16566d1da75b8fa627cf4b6f8160",
    "0x31e218d6f87c4558eeb1e1e2daa5d207e9c8861e",
    "0x7730c571fad047dcce53f83d5a55f01269c9883d",
    "0xa16cfb0e67a85d80fcd246d77623aa02482d2b10",
    "0x48c04ed5691981c42154c6167398f95e8f38a7ff",
    "0x0b9869c0b6601544f776284320423bc31fa0dc80",
    "0x303389f541ff2d620e42832f180a08e767b28e10",
    "0xca24e7d9e8a2ba3ada22383f5e2ad397b5677e25"
  ]
}

đź’ˇ Confusing?

Ask our experienced blockchain developers in Telegram


🔵 Powered by Base — an Ethereum Layer 2 built by Coinbase
🔌 API by CHAINNODES.ORG (opens in a new tab) — Fast. Secure. Reliable.