starknet_getStorageAt - Get the value of th...
Get the value of the storage at the given address and key
Get the value of the storage at the given address and key
Request Parameters
Contract address
Storage key
Block reference: `"latest"`, `"l1_accepted"`, block hash, or block number
Response Body
The value at the given key for the given contract. 0 if no value is found Storage value (felt252)
Errors
| Code | Message |
|---|---|
| 20 | Contract not found |
| 24 | Block not found |
Examples
curl -X POST https://api-starknet-mainnet.n.dwellir.com/YOUR_API_KEY \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "starknet_getStorageAt",
"params": [
"0x049d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7",
"0x0",
"latest"
],
"id": 1
}'starknet_getStateUpdate - Get the Info abou...
Get the information about the result of executing the requested block
starknet_getStorageProof - Get merkle paths...
Get merkle paths in one of the state tries: global state, classes, individual contract. A single request can query for any mix of the three types of storage proofs (classes, contracts, and storage).