Query storage at specific block
POST
Authorizations
ApiKeyAuthApiKeyAuthapi-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.0requiredJSON-RPC version identifier
methodstringstate_queryStorageAtrequiredThe method to be invoked
idinteger | stringrequiredRequest identifier for matching responses
paramsArray<Array<string> | string>requiredArray containing storage keys and optional block hash.
Response
200OK
Storage values retrieved successfully
400Bad Request
Invalid storage keys or block hash
500Internal Server Error
Internal server error