starknet_getStorageAt | Starknet


Starknet OpenRPC spec

For the latest version of the publicly maintained OpenRPC spec, see the Starknet specs GitHub repo.

Starknet API method that returns the storage value at a given position for a given account.

It provides the value stored at a specific position in the storage of an account. This is useful for clients or wallets to inspect the state of a smart contract at a specific block.


Get you own node endpoint today

Start for free and get your app to production levels immediately. No credit card required.

You can sign up with your GitHub, X, Google, or Microsoft account.


  • address — the string of the address of the account.
  • position — the string of the position in the storage.


  • result — the value stored at the given position in the account's storage, represented as a hexadecimal string.

Use case

A practical use case for starknet_getStorageAt is to inspect the state of a smart contract. For example, if a smart contract stores the balance of an account at a specific position in its storage, you can use starknet_getStorageAt to retrieve the balance of the account at a specific block.

Deprecated feeder gateway method

The feeder gateway was deprecated on December 11, 2023.

Example of the call you had to make to the feeder gateway before the deprecation:

curl ''
Click Try It! to start a request and see the response here!