Coinbase Wallet SDK
eth_getStorageAt
Get the value from a storage position at a given address
Defined in the Ethereum JSON-RPC Specification
Returns the value from a storage position at a given address.
Parameters
The address to read from (20 bytes).
Integer of the position in the storage (hexadecimal).
Integer block number, or the string “latest”, “earliest” or “pending”.
Returns
The value at this storage position as a hexadecimal string.
Error Handling
Code | Message | Description |
---|---|---|
-32602 | Invalid address or storage position | Invalid parameters provided |
4100 | Requested method not supported | The method is not supported by the wallet |
Storage positions start at 0x0. The result is a 32-byte hexadecimal value representing the data stored at that position.