Skip to main content

eth_getStorageAt

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

Use Cases#

  • Contract analysis - Read raw storage values
  • State verification - Verify contract state
  • Security auditing - Analyze storage layout for Web3 gaming (Gods Unchained, RavenQuest), gaming NFTs with enforced royalties, and cross-chain game assets
  • Protocol monitoring - Track state changes

Parameters#

ParameterTypeRequiredDescription
addressDATAYes20-byte contract address
positionQUANTITYYesStorage slot position
blockParameterQUANTITY|TAGYesBlock number or tag

Request#

{
"jsonrpc": "2.0",
"method": "eth_getStorageAt",
"params": [
"0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb",
"0x0",
"latest"
],
"id": 1
}

Code Examples#

curl -X POST https://api-immutable-zkevm-mainnet.n.dwellir.com/YOUR_API_KEY \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "eth_getStorageAt",
"params": [
"0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb",
"0x0",
"latest"
],
"id": 1
}'