Home

Query storage at specific block

POST
https://dot-assethub.nownodes.io/

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Returns storage entries for multiple keys at a specific block.

The state_queryStorageAt method retrieves the values of multiple storage keys at an optional block hash. This is useful for batch queries and fetching related storage entries efficiently in a single request.

This method is essential for:

  • Batch storage queries
  • Fetching related data efficiently
  • Building complex data views
  • Optimizing application performance

Body

application/json
jsonrpcstring2.0required

JSON-RPC version identifier

methodstringstate_queryStorageAtrequired

The method to be invoked

idinteger | stringrequired

Request identifier for matching responses

paramsArray<Array<string> | string>required

Array containing storage keys and optional block hash.

Show child attributes
One of
Array<string>

Optional block hash to query storage at specific block. If omitted, uses the latest finalized block.

string

Response

200OK

Storage values retrieved successfully

400Bad Request

Invalid storage keys or block hash

500Internal Server Error

Internal server error