[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
The first block number of the range to check.
(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
A Number that indicates the error type that occurred. This MUST be an integer.
code | message | description |
---|---|---|
-32700 | Parse error | invalid JSON was received by the server. An error occurred on the server while parsing the JSON text. |
-32602 | Invalid params | Invalid method parameter(s). |
A String providing a short description of the error. The message SHOULD be limited to a concise single sentence.
A Primitive or Structured value that contains additional information about the error. This may be omitted. The value of this member is defined by the Server (e.g. detailed error information, nested errors etc.).
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"
]
}