Returns the value from a storage position at a given address.
Parameters
string
required
The address to read from (20 bytes).
string
required
Integer of the position in the storage (hexadecimal).
string
required
Integer block number, or the string “latest”, “earliest” or “pending”.
Returns
string
The value at this storage position as a hexadecimal string.
Error Handling
Storage positions start at 0x0. The result is a 32-byte hexadecimal value representing the data stored at that position.