debug_storageRangeAt

Returns the contact storage in a range.

🚧

Invalid Example

Due to the nature of this endpoint, our request example is not testable. To test this endpoint please enter in valid parameters.

Parameters

  • blockHash/blockNumber: REQUIRED. The block hash in string format or block number as hexadecimal in the object format.
  • txIndex: REQUIRED. The transaction index for the point in which we want the list of accounts (e.g., 0).
  • address: REQUIRED. The contract address (e.g., 0xdafea492d9c6733ae3d56b7ed1adb60692c98bc5).
  • startKey: REQUIRED. The offset (hash of storage key) (e.g., 0x0000000000000000000000000000000000000000000000000000000000000000).
  • limit: REQUIRED. The number of storage entries to return (e.g., 1).

Returns

  • storage: An object with hash values, and for each of them, the key and value it represents.
    • hash: The hash value.
    • key: The key associated with the hash.
    • value: The value associated with the hash.
  • nextKey: The hash of the next key if further storage in range. Otherwise, not included.
Language
Authorization
Header
Click Try It! to start a request and see the response here!