starknet_getStorageAt

Returns the value from a storage position at a given address.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Parameters

Object NameRequiredTypeDetail
ADDRESS✅StringAddress from logs should originate.
STORAGE POSITION✅StringA hex code of an integer that represents the position in the storage.
BLOCK PARAMETER✅String"latest", "pending", or the hash of a block.
"params": [
    "0x044e5b3f0471a26bc749ffa1d8dd8e43640e05f1b33cf05cef6adee6f5b1b4cf",
    "0x0000000000000000000000000000000000000000000000000000000000000001",
    "latest"
]

Result

A hex code that represents the value at the provided storage position.

Example

Request

curl <your-endpoint> \
    -X POST \
    -H "Content-Type: application/json" \
    -d '{
    "id": 1,
    "jsonrpc": "2.0",
    "method": "starknet_getStorageAt",
    "params": [
        "0x044e5b3f0471a26bc749ffa1d8dd8e43640e05f1b33cf05cef6adee6f5b1b4cf",
        "0x0000000000000000000000000000000000000000000000000000000000000001",
        "latest"
    ]
}'

Return

{
    "jsonrpc": "2.0",
    "result": "0x0",
    "id": 1
}
Path Params
string
required
Defaults to 8aaf885beba8418cbf4e6788083e1f9e
Body Params
string
Defaults to {"jsonrpc":"2.0","method":"starknet_syncing","params": [],"id":1}
Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json