> ## Documentation Index
> Fetch the complete documentation index at: https://docs.chainstack.com/llms.txt
> Use this file to discover all available pages before exploring further.

# jsonrpc eth_call | TRON

> TRON eth_call JSON-RPC method — execute a read-only message call on the TRON blockchain without creating a transaction, via the Ethereum-compatible interface.

TRON API method that executes a contract function call without sending a transaction, providing an Ethereum-compatible interface for accessing TRON blockchain data.

## Parameters

* `jsonrpc` — the JSON-RPC protocol version (always "2.0")
* `method` — the method name (always "eth\_call")
* `params` — array containing method parameters
  * `transaction` — transaction object containing to, from, gas, gasPrice, value, and data fields
  * `blockParameter` — only `"latest"` is supported; TRON has no historical state queries, see [Historical data availability](/docs/tron-tooling#historical-data-availability)
* `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 return value of the executed contract function as hex string

## Use case

The `jsonrpc eth_call` method is used for:

* Reading data from smart contracts without spending gas through Web3 interfaces
* Implementing view/pure function calls in dApps and frontend applications
* Testing contract interactions and validating parameters before sending transactions
* Building real-time data displays that query contract state continuously


## OpenAPI

````yaml openapi/tron_node_api/jsonrpc_eth_call.json POST /95e61622bf6a8af293978377718e3b77/jsonrpc
openapi: 3.0.0
info:
  title: eth_call example
  version: 1.0.0
  description: >-
    This is an API example for eth_call, a method to execute a contract call
    without creating a transaction on the TRON network through
    Ethereum-compatible JSON-RPC interface.
servers:
  - url: https://tron-mainnet.core.chainstack.com
security: []
paths:
  /95e61622bf6a8af293978377718e3b77/jsonrpc:
    post:
      tags:
        - TRON JSON-RPC Operations
      summary: eth_call
      operationId: call
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - jsonrpc
                - method
                - id
                - params
              properties:
                jsonrpc:
                  type: string
                  default: '2.0'
                method:
                  type: string
                  default: eth_call
                id:
                  type: integer
                  default: 1
                params:
                  type: array
                  default:
                    - to: '0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b'
                      data: >-
                        0x70a08231000000000000000000000000a94f5374fce5edbc8e2a8697c15331677e6ebf0b
                    - latest
                  items:
                    oneOf:
                      - type: object
                        description: >-
                          Transaction object with to, from, gas, gasPrice,
                          value, data fields
                      - type: string
                        description: >-
                          Block parameter (latest, earliest, pending, or hex
                          block number)
                  minItems: 2
                  maxItems: 2
      responses:
        '200':
          description: Return value of the executed contract function
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                  id:
                    type: integer
                  result:
                    type: string
                    description: >-
                      The return value of the executed contract function as hex
                      string

````