🔵 Base
debug_getModifiedAccountsByNumber

🛠️ debug_getModifiedAccountsByNumber RPC Method (Base Chain)

The debug_getModifiedAccountsByNumber method returns an array of all modified addresses (contracts) in a given block by its number. This is useful for inspecting state changes on the Base chain.

Parameters

  • block number (required) — The number of the block (hexadecimal format).

Returns

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

Request

POST https://base-mainnet.chainnodes.org/YOUR-API-KEY

Example

đź’ˇ Confusing?

Ask our experienced blockchain developers in Telegram

  • HTTPS POST Request with a JSON RPC call in the body
  • Replace YOUR-API-KEY with the API key from your CHAINNODES Dashboard (opens in a new tab)
  • You can use a different supported network by replacing base-mainnet
curl https://base-mainnet.chainnodes.org/YOUR-API-KEY \
  -X POST \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","method":"debug_getModifiedAccountsByNumber","params":["0x10344A5"],"id":1}'

Body

{
  "jsonrpc": "2.0",
  "id": 1,
  "result": [
    "0x32400084c286cf3e17e7b677ea9583e60a000324",
    "0x36b665dd9635317d582ddee3e2fadfb68f60c584",
    "0x6887246668a3b87f54deb3b94ba47a6f63f32985",
    "0xabb4e0e1b852d8f685892787d56dc9e5d8c58395",
    "0xc84ef23265e4557804a7921a06b9719882e511d4",
    "0xf8c18df7509c03b45e6247b2b9e73fcadef24dd6",
    "0xe89df3ac8e474d96cb20fa29ef41e6e3f745c20c",
    "0x28dd569a0702ba943c7a2498020f6fbf343211dd",
    "0x2bb1881b1dde050fdf756c25e025aa9367b4affc",
    "0x69f8731fb38fd1e8bd8b9f2b465cee2d218be617",
    "0x87b918e76c92818db0c76a4e174447aee6e6d23f",
    "0xb342cddcdc7382a25b0a6ea08f82345d596f8ac8",
    "0xb5a1466b4c40ef8fd2fad85c881c52a6356c0da0",
    "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
    "0xf50ba81a48d10ff5ddb1beef871008e1ddc4aaee"
    // ...
  ]
}

Need RPC API keys?

Get 12.5M archival requests for free today.

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