debug_getModifiedAccountsByNumber
Optimism node API
debug_getModifiedAccountsByNumber | Optimism
The debug_getModifiedAccountsByNumber RPC method retrieves a list of accounts that were. debug_getModifiedAccountsByNumber on Optimism via Chainstack.
POST
debug_getModifiedAccountsByNumber
TheDocumentation Index
Fetch the complete documentation index at: https://docs.chainstack.com/llms.txt
Use this file to discover all available pages before exploring further.
debug_getModifiedAccountsByNumber RPC method retrieves a list of accounts that were modified between two specified block numbers. This method is invaluable for developers and analysts looking to track changes to the state of accounts across specific blocks for debugging or analytical purposes.
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.
Request
To usedebug_getModifiedAccountsByNumber, you should send a POST request with a JSON RPC call in the body.
Parameters
- Start Block (
string): The block number (in hexadecimal) from which to start tracking changes. - End Block (
string): The block number (in hexadecimal) up to which to track changes.
Response
The response will be an array of account addresses (as strings) that were modified between the two specified blocks.- result (
array): The addresses of the accounts modified between the specified blocks.
Use case
Thedebug_getModifiedAccountsByNumber method is essential for:
- Developers debugging contract interactions over specific blocks.
- Analysts tracking state changes for forensic or audit purposes.
- Tools and services monitoring the Optimism state for changes to specific accounts.
Body
application/json
Last modified on May 18, 2026