Skip to main content
Returns the value from a storage position at a given address.
Since Denim, Base produces a canonical block every 200ms and Flashblocks are retired. The "pending" tag is still accepted, but it no longer returns Flashblocks preconfirmation state. Use "latest" for the newest canonical state. See Migrate From Flashblocks.

Parameters

string
required
The 20-byte address of the storage.
string
required
The storage slot position as a hexadecimal integer.
string
required
Block number in hex, or "latest", "pending", "safe", "finalized", "earliest".

Returns

string
The value at the storage position as a 32-byte hex string.

Example