avalanche-models/models/gold/core__fact_blocks.sql
Austin 7eb5832b2b
Initial/setup (#1)
* initial commit

* inserted at

* overview updates

* labels and docs

* docs
2022-06-22 17:04:36 -04:00

27 lines
426 B
SQL

{{ config(
materialized = 'view',
persist_docs ={ "relation": true,
"columns": true }
) }}
SELECT
block_number,
block_timestamp,
network,
blockchain,
tx_count,
difficulty,
total_difficulty,
extra_data,
gas_limit,
gas_used,
HASH,
parent_hash,
receipts_root,
sha3_uncles,
SIZE,
uncle_blocks,
block_header_json
FROM
{{ ref('silver__blocks') }}