Skip to main content

eth_getStorageAt

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

Use Cases#

  • Contract analysis - Read raw storage values
  • State verification - Verify contract state
  • Security auditing - Analyze storage layout for production-grade dApp testing, early feature deployment, and Kusama-based EVM applications
  • 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": [
"5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY",
"0x0",
"latest"
],
"id": 1
}

Code Examples#

curl -X POST  \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "eth_getStorageAt",
"params": [
"5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY",
"0x0",
"latest"
],
"id": 1
}'