curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/jsonrpc/eth_getTransactionByHash \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"method": "eth_getTransactionByHash",
"id": 1,
"params": [
"0x88df016429689c079f3b2f6ad39fa052532c56795b733da78a91ebe6a713944b"
]
}'
{
"jsonrpc": "<string>",
"id": 123,
"result": {}
}
TRON API method that returns transaction information by transaction hash. This method provides Ethereum-compatible interface for TRON blockchain.
curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/jsonrpc/eth_getTransactionByHash \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"method": "eth_getTransactionByHash",
"id": 1,
"params": [
"0x88df016429689c079f3b2f6ad39fa052532c56795b733da78a91ebe6a713944b"
]
}'
{
"jsonrpc": "<string>",
"id": 123,
"result": {}
}
jsonrpc
— the JSON-RPC protocol version (always “2.0”)method
— the method name (always “eth_getTransactionByHash”)params
— array containing method parameters
transactionHash
— the transaction hash as a hex stringid
— request identifier (number or string)jsonrpc
— the JSON-RPC protocol version (“2.0”)id
— the request identifier that matches the requestresult
— transaction object containing transaction details including hash, from, to, value, gas, and other transaction metadatajsonrpc eth_getTransactionByHash
method is used for:
Transaction information
The response is of type object
.