curl --request POST \
--url https://ronin-mainnet.core.chainstack.com/3997273fc956a67dc6982384500e669e \
--header 'Content-Type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "eth_getStorageAt",
"params": [
"0x0b7007c13325c48911f73a2dad5fa5dcbf808adc",
"0x0",
"latest"
]
}'
{
"jsonrpc": "<string>",
"id": 123,
"result": "<string>"
}
curl --request POST \
--url https://ronin-mainnet.core.chainstack.com/3997273fc956a67dc6982384500e669e \
--header 'Content-Type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "eth_getStorageAt",
"params": [
"0x0b7007c13325c48911f73a2dad5fa5dcbf808adc",
"0x0",
"latest"
]
}'
{
"jsonrpc": "<string>",
"id": 123,
"result": "<string>"
}
eth_getStorageAt
method returns the value stored at a specific position of the storage of a given address, expressed in hexadecimal. This method is useful for inspecting the state of smart contracts at specific storage slots.
address
: The address to get the storage from. For example, 0x0b7007c13325c48911f73a2dad5fa5dcbf808adc
.position
: The storage position to inspect, given as a hexadecimal value. For example, 0x0
for the first position.blockParameter
(optional): This can be a hexadecimal block number, or the strings “latest”, “earliest”, or “pending”, indicating the state from which to get the storage value. The default is latest
.result
: The value at the specified storage position, returned as a hexadecimal string.Value from the storage position in hexadecimal
The response is of type object
.
Was this page helpful?