mirror of
https://github.com/FlipsideCrypto/terra-models.git
synced 2026-02-06 13:51:46 +00:00
bronze views
This commit is contained in:
parent
fad1328448
commit
a63e406f09
20
models/bronze/bronze__blocks.sql
Normal file
20
models/bronze/bronze__blocks.sql
Normal file
@ -0,0 +1,20 @@
|
||||
{{ config (
|
||||
materialized = 'view'
|
||||
) }}
|
||||
|
||||
SELECT
|
||||
record_id,
|
||||
offset_id,
|
||||
block_id,
|
||||
block_timestamp,
|
||||
network,
|
||||
chain_id,
|
||||
tx_count,
|
||||
header,
|
||||
ingested_at AS _ingested_at,
|
||||
_inserted_timestamp
|
||||
FROM
|
||||
{{ source(
|
||||
"chainwalkers",
|
||||
"terra_blocks"
|
||||
) }}
|
||||
21
models/bronze/bronze__transactions.sql
Normal file
21
models/bronze/bronze__transactions.sql
Normal file
@ -0,0 +1,21 @@
|
||||
{{ config (
|
||||
materialized = 'view'
|
||||
) }}
|
||||
|
||||
SELECT
|
||||
record_id,
|
||||
tx_id,
|
||||
tx_block_index,
|
||||
offset_id,
|
||||
block_id,
|
||||
block_timestamp,
|
||||
network,
|
||||
chain_id,
|
||||
tx,
|
||||
ingested_at AS _ingested_at,
|
||||
_inserted_timestamp
|
||||
FROM
|
||||
{{ source(
|
||||
"chainwalkers",
|
||||
"terra_txs"
|
||||
) }}
|
||||
Loading…
Reference in New Issue
Block a user