Query storage changes over a range of blocks
POST
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Returns storage entries for multiple keys over a range of blocks.
The state_queryStorage method retrieves the historical changes of storage keys between two blocks. This is essential for tracking state changes over time, building historical data views, and analyzing storage evolution.
This method is essential for:
- Historical data analysis
- State change tracking
- Building time-series data
- Audit and compliance reporting
Body
application/json
jsonrpcstring2.0requiredJSON-RPC version identifier
methodstringstate_queryStoragerequiredThe method to be invoked
idinteger | stringrequiredRequest identifier for matching responses
paramsArray<Array<string> | string | string>requiredArray containing storage keys, start block hash, and optional end block hash.
Response
200OK
Storage changes retrieved successfully
400Bad Request
Invalid parameters
500Internal Server Error
Internal server error