eth_getStorageAt

ArbitrumC2

Returns the raw 32-byte value at a storage slot of a contract at a given block. Historic reads resolve against archive nodes, so you can reconstruct past contract state.

Endpoint
POST https://api.1st-node.com/v1/arbitrum/rpc

Parameters

NameTypeDescription
addressDATA, 20 bytesContract address.
positionQUANTITYStorage slot index.
blockQUANTITY | TAGBlock number or tag.

Returns

DATA — the 32-byte value stored at the slot.

Request

curl https://api.1st-node.com/v1/arbitrum/rpc \
  -H "Authorization: Bearer $ONE_KEY" \
  -H "content-type: application/json" \
  -d '{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "eth_getStorageAt",
  "params": ["0xdac17f958d2ee523a2206206994597c13d831ec7", "0x0", "latest"]
}'
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "eth_getStorageAt",
  "params": ["0xdac17f958d2ee523a2206206994597c13d831ec7", "0x0", "latest"]
}

Response

{
  "jsonrpc": "2.0",
  "id": 1,
  "result": "0x0000000000000000000000000000000000000000000000000000000000000000"
}
More state methods on Arbitrum

Arbitrum API

常见问题

Can I read historic storage?

Yes — archive nodes serve storage at any past block height.

充值、拿密钥、上线。

自助开通。支持加密货币或银行卡。按额度计费——重型原语更贵,简单调用很便宜。

获取 API 密钥