Pinax Logo/Datasets
EthereumBlocks

Column Descriptions

for eth.blocks

39 rows
NameTypeDescription
total_blob_transactionsNUMBER
extra_data_utf8TEXT
hashTEXT
gas_limitNUMBER
minerTEXT
detail_level_codeNUMBER
total_difficultyNUMBER
difficultyNUMBER
blob_gas_priceNUMBER
blob_gas_usedNUMBER
total_withdrawalsNUMBER
sizeNUMBER
blob_transactionsARRAY
total_blobsNUMBER
timeTIMESTAMP_NTZ
numberNUMBER
withdrawals_rootTEXT
detail_levelTEXT
successful_transactionsNUMBER
dateDATE
base_fee_per_gasTEXT
state_rootTEXT
total_difficulty_hexTEXT
mix_hashTEXT
gas_usedNUMBER
total_balance_changesNUMBER
parent_beacon_rootTEXT
extra_dataTEXT
excess_blob_gasNUMBER
failed_transactionsNUMBER
nonceNUMBER
blob_gas_price_hexTEXT
total_transactionsNUMBER
parent_hashTEXT
transactions_rootTEXT
logs_bloomTEXT
blob_hashesARRAY
receipts_rootTEXT
ommers_hashTEXT

Sample Queries

Average Gas Used Per Block Daily
Calculates the average gas used per block for each day, providing insight into daily network activity.
SELECT
  date,
  AVG(gas_used) AS avg_gas_used
FROM
  eth.blocks
GROUP BY
  date
ORDER BY
  date;
Top 10 Miners by Block Count
Identifies the top 10 miners who have produced the most blocks, showing the most active block producers on the network.
SELECT
  miner,
  COUNT(*) AS block_count
FROM
  eth.blocks
GROUP BY
  miner
ORDER BY
  block_count DESC
LIMIT
  10;
Blocks with Higher Than Average Gas Limit
Retrieves information about blocks that have a gas limit above the overall average gas limit, which might indicate blocks with more complex transactions.
SELECT
  time,
  number,
  gas_limit
FROM
  eth.blocks
WHERE
  gas_limit > (
    SELECT
      AVG(gas_limit)
    FROM
      eth.blocks
  )
ORDER BY
  gas_limit DESC
LIMIT
  100;