Home

Get Storage At

POST
https://cfx-evm.nownodes.io/

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Returns the value stored at position in the storage of the contract at address at the given blockNumber.

In Conflux eSpace, pending is treated as latest.

Request and response values are illustrative examples, not live mainnet data.

Body

application/json
jsonrpcstringrequired

JSON-RPC version.

methodstringrequired

JSON-RPC method name.

paramsArray<string>required

Parameters array:

  1. address: string - Contract address to query storage from.
  2. position: string - Storage slot position (hex string).
  3. block number: string - Block number or keywords ("latest", "earliest", "pending").
idintegerrequired

Request identifier.

Response

200OK

Storage slot value at the specified position