This page uses machine translation from English, which may contain errors or unclear language. For the most accurate information, please see the original English version. Some content may be in the original English due to frequent updates. Help us improve this page's translation by joining our effort on Crowdin. (Crowdin translation page, Contributing guide)
[Inspection] debug_getModifiedAccountsByHash
Returns all accounts that have changed between the two blocks specified by their block hashes. Changes made in endBlockHash are included, but changes made in startBlockHash are not. If endBlockHash is not given, it returns the accounts modified in the startBlockHash. A change is defined as a difference in nonce, balance, code hash, or storage hash.
JSONRPC: debug_getModifiedAccountsByHash
Request
- application/json
Body
Array [
]
params
undefined[]
required
StartBlockHash 32-byte DATA
The first block number of the range to check.
EndBlockHash 32-byte DATA
(optional) The last block number of the range.
Responses
- 200
Return the list of addresses modified between the given range.
- application/json
- Schema
- Example (from schema)
Schema
error
object
result 20-byte DATA[]
The list of addresses modified between the given range.
{
"jsonrpc": "2.0",
"id": 0,
"error": {
"code": -32700,
"message": "Parse error",
"data": "string"
},
"result": [
"0x31b93ca83b5ad17582e886c400667c6f698b8ccd",
"0xb7fe15c42e66bd71835b07dc6e7daee7729f6235",
"0xe31a0edb11357dba71377e625fc6174da4ef4321",
"0x16b11cf9c2186a117b0da38315b42b1eaa03bbe5",
"0xd3ec3c7e4cad042dbdcb6a7e0fdbc55a92276f12",
"0xa4e0d726ce51572e66295756ad93206592c43a59",
"0xf65e07b6626ab43ecea744803fa46bd4a89bfdb6",
"0xaac56dfe44f9894d4f536cd17acfbc44bf81a843",
"0x3855407fa65c4c5104648b3a9e495072df62b585",
"0x61a7cbdd597848494fa85cbb76f9c63ad9c06cad",
"0xa4845491cb0dad5bd6707a33c02af0d9db435c15",
"0x026e8f70a26b6e5c8bec25e23869846edfdd6728",
"0x3cf3e8caea91501321feee0f0692fcd98f1c6292",
"0x18822790d7baf2fa6bbca6ad8baa46985abeb81b"
]
}
- curl
- python
- nodejs
- java
- Curl
curl -X 'POST' \
'https://public-en-kairos.node.kaia.io' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-d '{
"method": "debug_getModifiedAccountsByHash",
"id": 1,
"jsonrpc": "2.0",
"params": ["0x165c29e453dff6e1d9838d9e975a438b6f11a2c0a281b0d5b97c8d3110a79ac5", "0x2a8acdc3e9bb735918dc6a0141b9939976f446fde0b39336d74278da93b8d41d"]
}'
- CURL
ResponseClear