Table: t_deposits

Table Documentation: t_deposits

Summary

The t_deposits table logs deposit events on the Ethereum 2.0 Beacon Chain, essential for validator activation. These records are pivotal for tracking the staking process required for network consensus participation.

Description

This table provides detailed insights into each deposit, including the associated slot, block root, index within the block, validator's public key, withdrawal credentials, and the deposited amount. These elements are crucial for understanding the onboarding process of validators onto the Beacon Chain and the allocation of funds within the Ethereum 2.0 staking mechanism.

Schema Overview

  • f_inclusion_slot(INT64, Nullable): The slot number where the deposit was included on the Beacon Chain.
  • f_inclusion_block_root(STRING, Nullable): The root hash of the block that included the deposit.
  • f_inclusion_index(INT64, Nullable): Index of the deposit within the block it was included.
  • f_validator_pubkey(STRING, Nullable): Public key of the validator making the deposit.
  • f_withdrawal_credentials(STRING, Nullable): Withdrawal credentials for the deposit, specifying the withdrawal address.
  • f_amount(INT64, Nullable): Amount of the deposit, in Gwei.

Example SQL Query

SELECT *
FROM raw_beacon_chain.t_deposits
LIMIT 3;

Sample Query Result

f_inclusion_slotf_inclusion_block_rootf_inclusion_indexf_validator_pubkeyf_withdrawal_credentialsf_amount
7869464\x0037e78e60424dbe25626ad36b8ab9b81d59336f820405fcbdb0f2634c7dbef210\x936629370bcaa2cc52316fbe65a9b0ce9bbdcb1e4a189c128d9c2036d6fedb977f8d40901e11a12ebfe8820210157000\x010000000000000000000000d54be9f1df06236dbba47aa56ce5f32480fecdf232000000000
7875608\x04031ec74ae892670d833c5c3a2eb36480aa7c012c96903154a6a730ba47ca3e6\x8efeb5dcaee83cdb35aaf1382494e7e813de6f46a83140d8f5c28b442cf7db4f776af4f36deb2cc697f50729192844a5\x0100000000000000000000008b8b846f98683773ac43bd0ba07b81be2c46a68c32000000000
7875608\x04031ec74ae892670d833c5c3a2eb36480aa7c012c96903154a6a730ba47ca3e0\xa99985bcc96fa0070e592fb74d088bbedcf3dd6aa8c8b6f2732e404ec1bb89893e82729105e20e3fb6bee6ef03e7a975\x0100000000000000000000007ca1d22a444091426235d8ff2612b79843bb5a3d32000000000

This sample output illustrates the structure of data returned by querying the t_deposits table. It includes details such as the inclusion slot, block root, index, validator's public key, withdrawal credentials, and the amount deposited for the first few records.

This comprehensive documentation outlines the structure and purpose of the t_deposits table, including how to query it and interpret its data, essential for understanding validator onboarding and fund allocation within the Ethereum 2.0 ecosystem.