curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/jsonrpc \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"method": "eth_getBlockByHash",
"id": 1,
"params": [
"0x1b4",
true
]
}
'{
"jsonrpc": "<string>",
"id": 123,
"result": {}
}TRON API method that returns block information by block hash. This method provides Ethereum-compatible interface for TRON blockchain.
curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/jsonrpc \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"method": "eth_getBlockByHash",
"id": 1,
"params": [
"0x1b4",
true
]
}
'{
"jsonrpc": "<string>",
"id": 123,
"result": {}
}TRON API method that returns detailed block information by block hash, providing an Ethereum-compatible interface for accessing TRON blockchain data.Documentation Index
Fetch the complete documentation index at: https://chainstack-mintlify-flesh-empty-pages.mintlify.app/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_getBlockByHash”)params — array containing method parameters
blockHash — the block hash as a hex stringfullTransactionObjects — boolean indicating whether to return full transaction objects (true) or just transaction hashes (false)id — request identifier (number or string)jsonrpc — the JSON-RPC protocol version (“2.0”)id — the request identifier that matches the requestresult — block object containing block information including hash, number, parent hash, timestamp, transactions, and other block metadatajsonrpc eth_getBlockByHash method is used for:
Was this page helpful?