starknet_getStorageAt
POST
/{apiKey}
Get the value of the storage at the given address and key
Path Parameters
stringrequireddefaults to
docs-demoFor higher throughput, create your own API key
Request
string
format: "^0x(0|[a-fA-F1-9]{1}[a-fA-F0-9]{0,62})$"requiredThe address of the contract to read from
string
format: "^0x(0|[0-7]{1}[a-fA-F0-9]{0,62})$"requiredThe key to the storage value for the given contract
object or enumrequired
The hash of the requested block, or number (height) of the requested block, or a block tag
Block hash, number or tag
Responses
200
The value at the given key for the given contract. 0 if no value is found
A field element. Represented by at most 63 hex digits
Was this page helpful?