Skip to main content
POST
/
eth-rpc#eth_getStorageAt
Get Storage At Position
curl --request POST \
  --url 'https://eth.blockscout.com/api/eth-rpc?apikey=#eth_getStorageAt' \
  --header 'Content-Type: application/json' \
  --data '
{
  "jsonrpc": "2.0",
  "method": "eth_getStorageAt",
  "params": [
    "0x295a70b2de5e3953354a6a8344e616ed314d7251",
    "0x0",
    "latest"
  ],
  "id": 1
}
'
{
  "jsonrpc": "2.0",
  "result": "0x0000000000000000000000000000000000000000000000000000000000000000",
  "id": 1
}

Authorizations

apikey
string
query
required

Optional API key for increased rate limits.

Without API key:

  • 5 requests per second (shared pool)
  • No registration required

With API key:

  • 10 requests per second per key
  • Up to 3 free keys per account
  • Get your API key at https://blockscout.com (login required)

Usage: Add apikey=YOUR_KEY to any request query string.

Body

application/json
jsonrpc
enum<string>
required
Available options:
2.0
Example:

"2.0"

method
enum<string>
required
Available options:
eth_getStorageAt
Example:

"eth_getStorageAt"

params
(string | boolean | object | integer)[]
required
Example:
[
"0x295a70b2de5e3953354a6a8344e616ed314d7251",
"0x0",
"latest"
]
id
required
Example:

1

Response

200 - application/json

Successful JSON-RPC response

jsonrpc
string
Example:

"2.0"

result
any

Method result (varies by method)

id
Example:

1