curl --request POST \
--url https://optimism-mainnet.core.chainstack.com/efb0a5eccd2caa5135eb54eba6f7f300 \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"method": "debug_getModifiedAccountsByHash",
"id": 1,
"params": [
"0x8625622df3d1304e86f9e0a7f78adba128940b8829d95bf7866667b261934f6d"
]
}
'{
"jsonrpc": "<string>",
"id": 123,
"result": [
"<string>"
]
}curl --request POST \
--url https://optimism-mainnet.core.chainstack.com/efb0a5eccd2caa5135eb54eba6f7f300 \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"method": "debug_getModifiedAccountsByHash",
"id": 1,
"params": [
"0x8625622df3d1304e86f9e0a7f78adba128940b8829d95bf7866667b261934f6d"
]
}
'{
"jsonrpc": "<string>",
"id": 123,
"result": [
"<string>"
]
}debug_getModifiedAccountsByHash RPC method retrieves a list of accounts that were modified in a specific block, identified by the block’s hash. This method is useful for developers and analysts who need to track changes to the state of accounts within a particular block for debugging or analytical purposes.
debug_getModifiedAccountsByHash, you should send a POST request with a JSON RPC call in the body.
string): The hash of the block for which to retrieve the list of modified accounts.array): The addresses of the accounts modified in the specified block.debug_getModifiedAccountsByHash method is essential for:
Was this page helpful?