Skip to main content
Schema: thorchain.core Table: dim_block Type: Base Table

What

Records of all blocks that have occurred on Thorchain, dating back to the genesis block.

Columns

Column NameData TypeDescription
DIM_BLOCK_IDTEXTThe surrogate key for the table. Will be unique and is used as a foreign key in other tables
BLOCK_IDNUMBERID of the confirmed block
BLOCK_TIMESTAMPTIMESTAMP_NTZTimestamp of block minting(without a timezone)
BLOCK_DATEDATEDate of block minting(without a timezone)
BLOCK_HOURNUMBERDate of block minting(without a timezone)
BLOCK_WEEKNUMBERDate of block minting(without a timezone)
BLOCK_MONTHNUMBERThe numeric month of block minting(without a timezone)
BLOCK_QUARTERNUMBERThe numeric quarter of block minting(without a timezone)
BLOCK_YEARNUMBERThe numeric year of block minting(without a timezone)
BLOCK_DAYOFMONTHNUMBERThe numeric day of month of block minting(without a timezone)
BLOCK_DAYOFWEEKNUMBERThe numeric day of week of block minting(without a timezone)
BLOCK_DAYOFYEARNUMBERThe numeric day of year of block minting(without a timezone)
TIMESTAMPNUMBERinteger value of the block_teimstamp
HASHBINARYblock hash
AGG_STATEBINARYAGG_STATE column
_INSERTED_TIMESTAMPTIMESTAMP_NTZ_INSERTED_TIMESTAMP column
_AUDIT_RUN_IDTEXT_AUDIT_RUN_ID column
INSERTED_TIMESTAMPTIMESTAMP_NTZThe utc timestamp at which the row was inserted into the table.
MODIFIED_TIMESTAMPTIMESTAMP_NTZThe utc timestamp at which the row was last modified.