Skip to content

eth_getStorageAt

Defined in the Ethereum JSON-RPC Specification

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

Parameters

type GetStorageAtParams = [string, string, string]
  1. The address of the storage
  2. Integer of the position in the storage (hexadecimal)
  3. Block number or tag (as hexadecimal string)

Valid tags: "earliest", "latest", "pending", "safe", "finalized"

Returns

string

The value at this storage position.

Example

"0x0000000000000000000000000000000000000000000000000000000000000004"

Errors

CodeMessage
4200Unsupported method