curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/jsonrpc \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"method": "eth_call",
"id": 1,
"params": [
{
"to": "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b",
"data": "0x70a08231000000000000000000000000a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
},
"latest"
]
}
'{
"jsonrpc": "<string>",
"id": 123,
"result": "<string>"
}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.
curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/jsonrpc \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"method": "eth_call",
"id": 1,
"params": [
{
"to": "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b",
"data": "0x70a08231000000000000000000000000a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
},
"latest"
]
}
'{
"jsonrpc": "<string>",
"id": 123,
"result": "<string>"
}TRON API method that executes a contract function call without sending a transaction, providing an Ethereum-compatible interface for accessing TRON blockchain data.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 — 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 fieldsblockParameter — the block number in hexadecimal format or “latest”, “earliest”, “pending”id — request identifier (number or string)jsonrpc — the JSON-RPC protocol version (“2.0”)id — the request identifier that matches the requestresult — the return value of the executed contract function as hex stringjsonrpc eth_call method is used for:
Was this page helpful?