Blocks

Blocks are the building blocks of blockchains and rollups.

A block contains transactions which will alter the state of an EVM system incrementally. Transaction within a block can only be executed one after the other, not in parallel.

Sample Query

Querying the latest blocks produced.

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

Table Columns

Column NameDescriptionExample

timestamp

The unix timestamp for when the block was collated.

2023-05-23 08:39:55

number

The length of the chain, in blocks.

43,044,656

hash

Unique identifier for that block.

0x834752830be11792d03be9d409bffc2bca4d07cb0bb5f60426a4cc4aa63deac9

parent_hash

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

0xf45c440b624e96308f648fb3a186fa290c1748ecd7ea6bcdf41c80a5710b42c0

nonce

The hash of the generated proof-of-work.

0x0000000000000000

sha3_uncles

An array of uncle hashes.

0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347

logs_bloom

The bloom filter for the logs of the block.

0x41bec24a522337f934adc4f184048938402768590dcda09d7cbb00a6cd98a837190d1c1af5b250511c7d3ff6421c80bd0f33d35a9fc72b48e09007168f766cdbb0777f8aeccbc8782e7e849f8971f4a89ea52464477f9a08bb1b9c61c04b5a720ee48200d317440327611930d6289c5d20d338ecf9ce5415e260c0981cf8702a0aff0e146cbcf1adc844dc283ed6226c9e1e8eb1eb049c398f661af0dd6b038e2fc769077038cb0676c16b6cb9a1e588c276094f782a48a166a010bde19d2c63e11ed7461e121a8104533b913c223036425aab4a904e9fb7c7b3b33742307c2f91beb9ca051704a949afd1f413e70b256e58552aea59225b1a31c8632a5f388f

transactions_root

The root of the transaction trie of the block.

0xcb9f91a7241a1bbc750d9f6ea45682b401f410f27cf69baffee1f1e7ca100010

state_root

The root of the final state trie of the block.

0xaf3a7dde1645703889e19b27409c91629ded7ff00ee3bf3f95d8522bb24d2b44

receipts_root

The root of the receipts trie of the block.

0x1e3ab584bed8ba3b56b6ff2cae1af7170bd63288511c0640be4b252121292b8b

miner

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

0x0000000000000000000000000000000000000000

difficulty

The integer of the difficulty for this block.

20

total_difficulty

The integer of the total difficulty of the chain until this block.

724,569,020

size

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

61,994

extra_data

The “extra data” field of this block.

0xd682030983626f7288676f312e31392e37856c696e7578000000000000000000fb59020fa1004dabf997036d843ce18b6c38b70d540aa4ba049be51eac979934070221112949f1e942ebb5777ec5f730b11d2be18a2e7735d38ec46a45258d5701

gas_limit

Gas limit of the current block.

30,000,000

gas_used

Total gas used in the block.

14,725,982

transaction_count

Number of transactions included in this block.

80

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.

128,478,756,142

Other Advanced Fields

  • sha3_uncles

  • logs_bloom

  • transactions_root

  • state_root

  • receipts_root

  • extra_data

Last updated