POST
/
95e61622bf6a8af293978377718e3b77
/
jsonrpc
/
eth_getStorageAt
eth_getStorageAt
curl --request POST \
  --url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/jsonrpc/eth_getStorageAt \
  --header 'Content-Type: application/json' \
  --data '{
  "jsonrpc": "2.0",
  "method": "eth_getStorageAt",
  "id": 1,
  "params": [
    "0x407d73d8a49eeb85d32cf465507dd71d507100c1",
    "0x0",
    "latest"
  ]
}'
{
  "jsonrpc": "<string>",
  "id": 123,
  "result": "<string>"
}
TRON API method that returns the value stored at a specific storage position of a smart contract, providing an Ethereum-compatible interface for accessing TRON blockchain data.
Get you own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.

Parameters

  • jsonrpc — the JSON-RPC protocol version (always “2.0”)
  • method — the method name (always “eth_getStorageAt”)
  • params — array containing method parameters
    • address — the contract address to read storage from
    • position — the storage position (slot) as hex string
    • blockParameter — the block number in hexadecimal format or “latest”, “earliest”, “pending”
  • id — request identifier (number or string)

Response

  • jsonrpc — the JSON-RPC protocol version (“2.0”)
  • id — the request identifier that matches the request
  • result — the value at the storage position as a hex string

Use case

The jsonrpc eth_getStorageAt method is used for:
  • Reading smart contract state variables directly through Web3 interfaces
  • Debugging and analyzing contract storage layout and values
  • Building advanced dApp functionality that requires direct storage access
  • Implementing contract monitoring tools that track state changes

Body

application/json

Response

200 - application/json

Storage value at the specified position

The response is of type object.