POSTeth_getBlockByHash
https://tron-mainnet.nodit.io/Fetches block information by block hash.
It contains following parameters in order:
blockHash: The hash of the block to look up. (required)includeTransactions: Whether to also return full transaction details, as a boolean. (required)
The 32-byte hash of the block to look up.
When true, an array of transaction objects is returned; when false, an array of transaction hashes is returned.
The block number, hex-encoded.
The block hash. Its leading 8 characters encode the block height.
The hash of the previous block.
The merkle root of the transactions in the block.
The state tree root. TRON does not provide this value and returns an empty value (0x).
The receipts tree root. TRON has no counterpart, so it is filled with zeros.
The address of the Super Representative (SR) that produced the block.
The Bloom filter used to search event logs.
The block size in bytes, hex-encoded.
The maximum total energy allowed for the block.
The total energy consumed in the block.
The block creation time in UNIX epoch seconds, hex-encoded.
The list of transactions included in the block.
When the second request parameter is false, an array of transaction hashes is returned; when true, an array of transaction objects is returned.
The mining difficulty. TRON does not use proof of work, so it is always 0x0.
The cumulative difficulty. TRON does not use proof of work, so it is always 0x0.
The proof-of-work nonce. TRON has no counterpart, so it is filled with zeros.
The proof-of-work mix hash. TRON has no counterpart, so it is filled with zeros.
The hash of the uncle list. TRON has no uncles, so it is filled with zeros.
The list of uncle blocks. TRON has no uncles, so it is always an empty array.
Extra data included in the block. TRON returns an empty value (0x).
The EIP-1559 base fee. TRON has no counterpart, so it is always 0x0.