Pinax Logo/Datasets
Beacon ChainWithdrawals

Column Descriptions

for eth_cl.withdrawals

8 rows
NameTypeDescription
block_hashTEXTUnique identifier (hash) of the block containing this withdrawal
addressTEXTAddress where the withdrawal is sent
block_timeTIMESTAMP_NTZTimestamp indicating when the block containing this withdrawal was created
gweiNUMBERAmount withdrawn in gwei (smallest unit of Ether)
validator_indexNUMBERIndex of the validator associated with this withdrawal
withdrawal_indexNUMBERIndex of the withdrawal within the block
block_dateDATECalendar date associated with the block containing this withdrawal
block_numberNUMBERSequential number of the block in the blockchain containing this withdrawal

Sample Queries

Total Withdrawals per Day in Gwei
Calculates the total amount of withdrawals in Gwei for each day.
SELECT
  block_date,
  SUM(gwei) AS total_gwei_withdrawn
FROM
  eth_cl.withdrawals
GROUP BY
  block_date
ORDER BY
  block_date;
Top 10 Withdrawal Addresses by Total Gwei
Identifies the top 10 addresses based on the total amount of Gwei withdrawn.
SELECT
  address,
  SUM(gwei) AS total_gwei
FROM
  eth_cl.withdrawals
GROUP BY
  address
ORDER BY
  total_gwei DESC
LIMIT
  10;
Average Withdrawal Amount in Gwei
Calculates the average withdrawal amount in Gwei.
SELECT
  AVG(gwei) AS average_withdrawal_gwei
FROM
  eth_cl.withdrawals;