TriportRPC

eth_getStorageAt

Tron / https://triport.io/rpc/tron

Minimum tier: Free

Tron method guide

Last updated:

eth_getStorageAt reads the word at one storage position for an EVM-form contract address. The position is an EVM hex quantity and the result is exactly 32 bytes encoded as 0x plus 64 hexadecimal characters.

Use this low-level method only when the contract storage layout and position are known. For ABI-defined view functions, eth_call is usually safer. Tron exposes this state only at latest; historical quantities are not supported.

Parameters

eth_getStorageAt parameters
NameTypeRequiredDescription
addressEVMAddressYes
positionQuantityYes
blockLatestBlockTagYes

Returns

eth_getStorageAt return value
FieldType
valueData32

Examples

curl https://triport.io/rpc/tron \
  -X POST -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer <api-key>' \
  -d '{"jsonrpc":"2.0","id":1,"method":"eth_getStorageAt","params":["<address>","<position>","<block>"]}'
const res = await fetch("https://triport.io/rpc/tron", {
  method: "POST",
  headers: { "Content-Type": "application/json", Authorization: "Bearer <api-key>" },
  body: JSON.stringify({
  "jsonrpc": "2.0",
  "id": 1,
  "method": "eth_getStorageAt",
  "params": [
    "<address>",
    "<position>",
    "<block>"
  ]
}),
});
const data = await res.json();
import requests
resp = requests.post(
    "https://triport.io/rpc/tron",
    headers={"Authorization": "Bearer <api-key>"},
    json={"jsonrpc":"2.0","id":1,"method":"eth_getStorageAt","params":["<address>","<position>","<block>"]},
)
print(resp.json())

Usage

  1. Transport: HTTP (JSON-RPC).
  2. Chain: Tron.
  3. Clusters: mainnet.
  4. Credit cost: 1 per call.

FAQ

What does eth_getStorageAt do?
Returns one 32-byte storage word from the current Tron EVM state.
How many credits does eth_getStorageAt cost?
eth_getStorageAt costs 1 credit(s) per call on Triport by default.
Is eth_getStorageAt available over WebSocket?
eth_getStorageAt is an HTTP JSON-RPC method.