Home

Get storage entry value

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

Authorizations

ApiKeyAuthApiKeyAuth

api-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.0required

JSON-RPC version identifier

methodstringstate_getStoragerequired

The method to be invoked

idinteger | stringrequired

Request identifier for matching responses

paramsArray<string | string>required

Array containing storage key and optional block hash.

Show child attributes
One of

Storage key in hex format

string

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

string

Response

200OK

Storage value retrieved successfully

400Bad Request

Invalid storage key or block hash

500Internal Server Error

Internal server error