POST
/
3997273fc956a67dc6982384500e669e
curl --request POST \
  --url https://ronin-mainnet.core.chainstack.com/3997273fc956a67dc6982384500e669e \
  --header 'Content-Type: application/json' \
  --data '{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "eth_getStorageAt",
  "params": [
    "0x0b7007c13325c48911f73a2dad5fa5dcbf808adc",
    "0x0",
    "latest"
  ]
}'
{
  "jsonrpc": "<string>",
  "id": 123,
  "result": "<string>"
}

This example makes a call to slot 0 of the USDC contract on the Ronin Mainnet.

The eth_getStorageAt method returns the value stored at a specific position of the storage of a given address, expressed in hexadecimal. This method is useful for inspecting the state of smart contracts at specific storage slots.

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.

Parameters

  • address: The address to get the storage from. For example, 0x0b7007c13325c48911f73a2dad5fa5dcbf808adc.
  • position: The storage position to inspect, given as a hexadecimal value. For example, 0x0 for the first position.
  • blockParameter (optional): This can be a hexadecimal block number, or the strings “latest”, “earliest”, or “pending”, indicating the state from which to get the storage value. The default is latest.

Response

  • result: The value at the specified storage position, returned as a hexadecimal string.

Use case

This method is particularly useful for developers and auditors who need to verify the state of a smart contract’s storage directly on the blockchain. It allows for detailed inspection of contract state and can be used to debug or verify contract behavior.

Body

application/json
id
integer
default:1
jsonrpc
string
default:2.0
method
string
default:eth_getStorageAt
params
string[]

Response

200 - application/json
Value from the storage position in hexadecimal
jsonrpc
string
id
integer
result
string