state_getStorage
Retrieves the storage for a key.
Example Request and Result for state_getStorage method
In this section, we provide an illustrative example of a request made to retrieve details contents using the state_getStorage
method. Additionally, we present the resulting response containing information about the storage for a key.
Parameters
Fields | Type | Description |
---|---|---|
blockhash | string | The hash of a specific block in the chain. If not provided, the request will return the runtime version from the latest block. |
storageKey* | string | The key for which you want to retrieve the storage data |
The example in this section uses a non-existing project id.
Make sure you replace it with your Vara Mainnet endpoint when issuing the API calls.
Don't have a project id? Here's a straightforward guide on how to obtain one!
Retrieves the storage for a key.
POST
https://vara-mainnet.blastapi.io/<project-id>
Request Body
Name | Type | Description |
---|---|---|
blockhash | string | 0xe0ee3872c50b4d0d8ca568679beb7e9e29e6d2caa30a52085c0a34b3a137e734 |
key* | string | 0x06de3d8a54d27e44a9d5ce189618f22d4e7b9012096b41c4eb3aaf947f6ea429 |
Curl Request example
Last updated