Skip to main content
POST
debug_getModifiedAccountsByNumber
Robinhood Chain API method that retrieves a list of accounts that were modified in a specific block or between two blocks, identified by block number. This method compares the state tries between the specified blocks to find all accounts with changed state.
Learn how to deploy a node with the debug and trace API methods enabled.
This method is available for post-Nitro blocks only (block 22,207,815 and later). For pre-Nitro blocks, use the arbtrace_* methods instead.
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

  • startNum — the block number (as a decimal integer) for which to retrieve modified accounts. When only this parameter is provided, the method returns accounts modified in this single block (compared to its parent).
  • endNum — (optional) the end block number (as a decimal integer). When provided, the method returns accounts modified between startNum and endNum.

Response

  • result — an array of account addresses that were modified in the specified block or range.

debug_getModifiedAccountsByNumber code examples

Body

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

Response

200 - application/json

Returns a list of accounts modified between the specified blocks.

jsonrpc
string
id
integer
result
string[]

The addresses of the modified accounts.

Last modified on July 18, 2026