Pinax Logo/Datasets
SolanaBlocks

Column Descriptions

for solana.blocks

16 rows
NameTypeDescription
hashTEXT
dateDATE
failed_transactionsNUMBER
successful_transactionsNUMBER
failed_non_vote_transactionsNUMBER
total_non_vote_transactionsNUMBER
failed_vote_transactionsNUMBER
total_transactionsNUMBER
successful_vote_transactionsNUMBER
slotNUMBER
successful_non_vote_transactionsNUMBER
total_vote_transactionsNUMBER
parent_slotNUMBER
heightNUMBER
timeTIMESTAMP_NTZ
previous_block_hashTEXT

Sample Queries

Average Transactions Per Block Daily
Calculates the average number of total transactions per block for each day.
SELECT
  date,
  AVG(total_transactions) AS avg_transactions
FROM
  solana.blocks
GROUP BY
  date
ORDER BY
  date;
Top 10 Dates with Highest Failed Non-Vote Transactions
Identifies the top 10 dates with the highest number of failed non-vote transactions.
SELECT
  date,
  SUM(failed_non_vote_transactions) AS total_failed_non_vote
FROM
  solana.blocks
GROUP BY
  date
ORDER BY
  total_failed_non_vote DESC
LIMIT
  10;
Blocks with Above Average Successful Transactions
Retrieves blocks that have a number of successful transactions greater than the average number of successful transactions across all blocks.
SELECT
  slot,
  height,
  hash
FROM
  solana.blocks
WHERE
  successful_transactions > (
    SELECT
      AVG(successful_transactions)
    FROM
      solana.blocks
  );