Storage range

Retrieve storage range

post

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
addressstringOptional

The address of the contract/ account to be traced.

Example: 0xd8ccdd85abdbf68dfec95f06c973e87b1b5a9997Pattern: ^0x[0-9a-fA-F]{40}$
keyStartstring | nullableOptional

The start key of the storage range. Default is 0x0000000000000000000000000000000000000000000000000000000000000000

Example: 0x0000000000000000000000000000000000000000000000000000000000000000Pattern: ^0x[0-9a-fA-F]{64}$
maxResultnumber | nullableOptional

The maximum number of results to be returned. Default is 1000.

Example: 10
targetstringOptional

The unified path of the transaction clause.

Format: blockID/(txIndex|txId)/clauseIndex

Example: 0x010709463c1f0c9aa66a31182fb36d1977d99bfb6526bae0564a0eac4006c31a/0/0Pattern: ^0x[0-9a-fA-F]{64}\/(0x[0-9a-fA-F]{64}|\d+)\/[0-9]+$
Responses
200
OK
application/json
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"
    }
  }
}