Home

Get read proof for storage keys

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Returns proof of storage entries at a specific block.

The state_getReadProof method generates a Merkle proof for the specified storage keys at a given block. This proof can be used to verify the existence and values of storage entries without needing to trust the node providing the data.

This method is essential for:

  • Light client verification
  • Cross-chain bridge operations
  • Trustless data verification
  • State proof generation

Body

application/json
jsonrpcstring2.0required

JSON-RPC version identifier

methodstringstate_getReadProofrequired

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 generate proof at specific block. If omitted, uses the latest finalized block.

string

Response

200OK

Read proof generated successfully

400Bad Request

Invalid storage keys or block hash

500Internal Server Error

Internal server error