eth_getStorageAt - Etherlink RPC Method
Read the value from a storage slot at a given contract address on Etherlink. Essential for reading contract state directly, proxy implementation verification, and storage layout analysis.
Returns the value from a storage position at a given address on Etherlink. This provides direct access to the raw EVM storage of any smart contract, bypassing ABI encoding and public getter functions.
When to Use This Method
Read the Pyth proxy implementation slot at block 4,162,675. The request uses the ERC-1967 implementation slot.
Response Body
ResponseCode Examples
curl -X POST "https://api-etherlink-mainnet.n.dwellir.com/YOUR_API_KEY" \
-H "Content-Type: application/json" \
--data-raw '{"jsonrpc":"2.0","id":6,"method":"eth_getStorageAt","params":["0x2880ab155794e7179c9ee2e38200202908c17b43","0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc","0x3f8473"]}'Best Practices
Keep the recorded block height and address together when reproducing a historical example. Preserve RPC errors instead of replacing them with empty results.
eth_getCode
Get contract bytecode on Etherlink. Essential for verifying smart contracts for historical blockchain data.
eth_getTransactionCount
Get the number of transactions sent from an address (nonce) on Etherlink. Essential for nonce management, transaction signing, and detecting stuck transactions.