Base API method eth_getStorageAt
retrieves the value from a specific storage position of a contract at a given address. This method is useful for inspecting the state of smart contracts at specific points in their execution or at a particular block.
This example makes a call to slot 7 of the USDC contract on the Base Mainnet.
Get you own node endpoint today
Start for free and get your app to production levels immediately. No credit card required.
You can sign up with your GitHub, X, Google, or Microsoft account.
address
— the address of the contract to access.position
— the storage position to inspect, given as a hexadecimal value.block
— the block number (in hexadecimal) or one of the strings "earliest"
, "latest"
, or "pending"
, indicating the state to consider. The default is "latest"
.result
— the value from the specified storage position at the given address, returned as a hexadecimal string.The eth_getStorageAt
method is essential for:
The value from the specified storage position
The response is of type object
.
Base API method eth_getStorageAt
retrieves the value from a specific storage position of a contract at a given address. This method is useful for inspecting the state of smart contracts at specific points in their execution or at a particular block.
This example makes a call to slot 7 of the USDC contract on the Base Mainnet.
Get you own node endpoint today
Start for free and get your app to production levels immediately. No credit card required.
You can sign up with your GitHub, X, Google, or Microsoft account.
address
— the address of the contract to access.position
— the storage position to inspect, given as a hexadecimal value.block
— the block number (in hexadecimal) or one of the strings "earliest"
, "latest"
, or "pending"
, indicating the state to consider. The default is "latest"
.result
— the value from the specified storage position at the given address, returned as a hexadecimal string.The eth_getStorageAt
method is essential for:
The value from the specified storage position
The response is of type object
.