debug_getModifiedAccountsByHash RPC Method
The debug_getModifiedAccountsByHash
returns an array of modified addresses (contracts) in the given block.
Parameters
block hash
- The hash of the block.
Returns
array
- The array of modified addresses.
Request
POST https://<network>.chainnodes.org/YOUR-API-KEY
Example
💡
Confusing? Ask blockchain developers in Chainnodes Telegram Chat (opens in a new tab)
- HTTPS POST Request with a JSON RPC call in the body
- Replace YOUR-API-KEY with the API key from your Chainnodes.org Dashboard
- You can use a different supported network by replacing
mainnet
curl https://mainnet.chainnodes.org/YOUR-API-KEY \
-X POST \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"debug_getModifiedAccountsByHash","params":["0x47b0778abf13535354f63d0c345c7c08d483529551c2599cec536f1947c88763"],"id":1}'
Body
{
"jsonrpc": "2.0",
"id": 1,
"result": [
"0x265241f900da16566d1da75b8fa627cf4b6f8160",
"0x31e218d6f87c4558eeb1e1e2daa5d207e9c8861e",
"0x7730c571fad047dcce53f83d5a55f01269c9883d",
"0xa16cfb0e67a85d80fcd246d77623aa02482d2b10",
"0x48c04ed5691981c42154c6167398f95e8f38a7ff",
"0x0b9869c0b6601544f776284320423bc31fa0dc80",
"0x303389f541ff2d620e42832f180a08e767b28e10",
"0xca24e7d9e8a2ba3ada22383f5e2ad397b5677e25",
.......
.......
.......
}
Need RPC API keys?
Get 12.5M archival requests for free today.