Storage range
The endpoint retrieves storage entries related to a particular clause execution and contract address. This could be useful for inspecting or analyzing storage changes.
Body
addressstringOptionalExample:
The address of the contract/ account to be traced.
0xd8ccdd85abdbf68dfec95f06c973e87b1b5a9997
Pattern: ^0x[0-9a-fA-F]{40}$
keyStartstring | nullableOptionalExample:
The start key of the storage range. Default is 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000000
Pattern: ^0x[0-9a-fA-F]{64}$
maxResultnumber | nullableOptionalExample:
The maximum number of results to be returned. Default is 1000.
10
targetstringOptionalExample:
The unified path of the transaction clause.
Format:
blockID/(txIndex|txId)/clauseIndex
0x010709463c1f0c9aa66a31182fb36d1977d99bfb6526bae0564a0eac4006c31a/0/0
Pattern: ^0x[0-9a-fA-F]{64}\/(0x[0-9a-fA-F]{64}|\d+)\/[0-9]+$
Responses
200
OK
application/json
400
Bad Request
text/plain
post
POST /debug/storage-range HTTP/1.1
Host: vet.nownodes.io
Content-Type: application/json
Accept: */*
Content-Length: 233
{
"address": "0xd8ccdd85abdbf68dfec95f06c973e87b1b5a9997",
"keyStart": "0x0000000000000000000000000000000000000000000000000000000000000000",
"maxResult": 10,
"target": "0x010709463c1f0c9aa66a31182fb36d1977d99bfb6526bae0564a0eac4006c31a/0/0"
}
{
"nextKey": null,
"storage": {
"0x33e423980c9b37d048bd5fadbd4a2aeb95146922045405accc2f468d0ef96988": {
"key": "0x0000000000000000000000000000000000000000000000000000000000000001",
"value": "0x00000000000000000000000000000000000000000000000000000000000000c8"
}
}
}