Get storage entry value
POST
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Returns the value of a storage entry.
The state_getStorage method retrieves the actual value of a specific storage entry at an optional block. This is the primary method for reading chain state data including account balances, staking information, and other on-chain data.
This method is essential for:
- Reading account balances and information
- Querying staking and governance data
- Accessing smart contract state
- Building blockchain explorers
Body
application/json
jsonrpcstring2.0requiredJSON-RPC version identifier
methodstringstate_getStoragerequiredThe method to be invoked
idinteger | stringrequiredRequest identifier for matching responses
paramsArray<string | string>requiredArray containing storage key and optional block hash.
Response
200OK
Storage value retrieved successfully
400Bad Request
Invalid storage key or block hash
500Internal Server Error
Internal server error