API Reference

eth_getStorageAt

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

Request Parameters

  • ADDRESS [required] - a string representing the address (20 bytes) of the storage
  • STORAGE POSITION [required] - a hex code of the position in the storage
  • BLOCK PARAMETER [required] - hexadecimal block number, or the string "latest", "earliest" or "pending".

Response

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

Result Fields

  • STORAGE VALUE - a hex code of the integer indicating the value of the storage position at the provided address.

Examples

Example Responses
{
    "jsonrpc": "2.0",
    "id": 1,
    "result": "0x0000000000000000000000000000000000000000000000000000000000000000"
}
Language
Click Try It! to start a request and see the response here!