curl --request POST \
--url https://optimism-mainnet.core.chainstack.com/efb0a5eccd2caa5135eb54eba6f7f300 \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"method": "debug_getModifiedAccountsByNumber",
"id": "1",
"params": [
"0x6eee4bc",
"0x6eee4bd"
]
}'
{
"jsonrpc": "<string>",
"id": "<string>",
"result": [
"<string>"
]
}
curl --request POST \
--url https://optimism-mainnet.core.chainstack.com/efb0a5eccd2caa5135eb54eba6f7f300 \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"method": "debug_getModifiedAccountsByNumber",
"id": "1",
"params": [
"0x6eee4bc",
"0x6eee4bd"
]
}'
{
"jsonrpc": "<string>",
"id": "<string>",
"result": [
"<string>"
]
}
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.
debug_getModifiedAccountsByNumber
, you should send a POST request with a JSON RPC call in the body.
string
): The block number (in hexadecimal) from which to start tracking changes.string
): The block number (in hexadecimal) up to which to track changes.array
): The addresses of the accounts modified between the specified blocks.debug_getModifiedAccountsByNumber
method is essential for:
A list of accounts modified between the two block numbers
The response is of type object
.