Arbitrum One
Bereit, das in der Produktion aufzurufen?
Das Free-Tier deckt persönliche Projekte ab. Pay-as-you-go skaliert ohne Karte.
Arbitrum One
Das Free-Tier deckt persönliche Projekte ab. Pay-as-you-go skaliert ohne Karte.
eth_getStorageAt reads the raw value held at a single storage slot of a contract on Arbitrum One, the Optimistic Rollup (chain ID 42161) that runs the standard EVM under Nitro/ArbOS and pays gas in ETH. It bypasses the ABI entirely, reaching straight into the contract's storage trie. Call it at https://arbitrum.therpc.io/YOUR_API_KEY with a contract address, a slot index, and a block tag, and it returns the 32-byte value stored at that specific storage slot, left-padded with zeros and hex-encoded.
| # | Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|---|
| 1 | address | string (hex) | Ja | The contract whose storage to read. |
| 2 | storageSlot | string (hex) | Ja | Storage position to read. For mappings, this is the keccak256-derived slot. |
| 3 | blockTag | string | Nein | Block at which to read.Standard: latest |
| Typ | Beschreibung |
|---|---|
| string (hex) | 32-byte hex-encoded value stored at the slot, left-padded with zeros. |
Try it live in the Arbitrum One playground.
| Code | Meldung | Ursache |
|---|---|---|
-32602 | Invalid params | Address or slot index is malformed. |
-32000 | Missing trie node | Historical block pruned on a non-archive node. |
keccak256(abi.encode(key, baseSlot)), which you must compute first.Parameter
0x-prefixed 20-byte contract address
0x-prefixed 32-byte slot index (e.g. "0x0")
hex block number or "latest"/"earliest"/"pending"/"safe"/"finalized"