Blocks

Blocks are batches of transactions with a hash of the previous block in the chain. This links blocks together in a chain. The block hash value is calculated based on the block content through the hash algorithm.

Learn more about Tron blocks here.

Sample Query

Querying the latest 100 blocks produced.

select *
  from tron.raw.blocks
order by timestamp desc 
limit 100

Table Columns

Table Columns

Column Name
Description
Example

timestamp

The time when the block was included on the blockchain.

2023-05-22 11:26:33

number

The length of the chain, in blocks.

51,379,933

hash

Unique identifier for that block.

0x00000000030ffedd8ed832f382e8e2a725ebf0cb7551d6b18d78dd12f5cf9d83

parent_hash

Unique identifier of the block preceding this block, also known as the parent block.

0x00000000030ffedc34d76221f06ff53b2b6e5ec63c523fae8d2023b0820380f8

nonce

Proof of Stake Unused post Merge. The value will always be 0x0000000000000000 Proof of Work Used to demonstrate proof of work during mining

0x0000000000000000

sha3_uncles

The SHA3 of the uncles data in the block.

0x0000000000000000000000000000000000000000000000000000000000000000

logs_bloom

The bloom filter for the logs of the block. null if pending.

state_root

The root of the final state trie of the block.

0x

receipts_root

The root of the receipts trie of the block.

0x0000000000000000000000000000000000000000000000000000000000000000

miner

Proof of Stake Address receiving fees from transactions in this block Proof of Work Address of the miner that mined this block.

TTxrh32VJveqiYRwbLEX2wLTMFCfbpAUQj

miner_evm

Miner address in EVM.

0xc5614f3ebf88785fedf9d69bd82aac1353f8b431

miner_hex

Miner address in HEX.

41c5614f3ebf88785fedf9d69bd82aac1353f8b431

difficulty

The effort required to mine this block. Proof of Stake Always 0

0

total_difficulty

Total difficulty of the chain until this block.

0

size

The size of the block, in bytes, as determined by the gas_limit.

82,899

extra_data

The "extra data" field of this block.

0x

gas_limit

Gas limit of the current block.

8,730,853,230

gas_used

Total gas used in the block.

3,338,957

base_fee_per_gas

Post London Upgrade (EIP1559), this represents the minimum gas_used required for a transaction to be included in a block. Represented in wei.

0

transaction_count

Number of transactions included in this block.

355

transactions_root

The root of the transaction trie of the block.

0x785c8f8df620edcb656ce5b40834dc3ad030491f02b5fa8055e300dcaf5fe2bd

mix_hash

A string of a 256-bit hash encoded as a hexadecimal.

0x0000000000000000000000000000000000000000000000000000000000000000

_created_at

Timestamp of the row creation.

2023-05-22 11:27:08

_updated_at

Timestamp of the row update.

2023-05-22 11:27:08

Last updated