Skip to main content

Documentation Index

Fetch the complete documentation index at: https://base-a060aa97-meyer9-move-azul-to-top-of-upgrades.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Defined in the Ethereum JSON-RPC Specification
Returns the value from a storage position at a given address.

Parameters

address
string
required
The address to read from (20 bytes).
position
string
required
Integer of the position in the storage (hexadecimal).
blockParameter
string
required
Integer block number, or the string “latest”, “earliest” or “pending”.

Returns

result
string
The value at this storage position as a hexadecimal string.
{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "eth_getStorageAt",
  "params": [
    "0x407d73d8a49eeb85d32cf465507dd71d507100c1",
    "0x0",
    "latest"
  ]
}
{
  "id": 1,
  "jsonrpc": "2.0",
  "result": "0x0000000000000000000000000000000000000000000000000000000000000001"
}

Error Handling

CodeMessageDescription
-32602Invalid address or storage positionInvalid parameters provided
4100Requested method not supportedThe 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.