state_subscribeStorage
Subscribes to storage changes for the provided keys
Example Request and Result for state_subscribeStorage method
In this section, we provide an illustrative example of a request made to retrieve details contents using the state_subscribeStorage
method. Additionally, we present the resulting response containing information about subscribing to storage updates using WS subscription.
Parameters
Fields | Type | Description |
---|---|---|
keys | array<string> | An array representing the key or keys for which you want to retrieve storage entries |
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!
Subscribes to storage changes for the provided keys
POST
wss://vara-mainnet.blastapi.io/<project-id>
Request Body
Name | Type | Description |
---|---|---|
keys | string | 0x06de3d8a54d27e44a9d5ce189618f22d4e7b9012096b41c4eb3aaf947f6ea429 |
Curl Request example
Last updated