flyingfishFlipside Ethereum Tables Last Entry
Updated 2023-01-02
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
›
⌄
with cte as (
select 1 as index, 'ethereum.core.fact_transactions' as flipside_table, max(block_timestamp) as last_entry
from ethereum.core.fact_transactions
union
select 2, 'ethereum.core.fact_event_logs', max(block_timestamp)
from ethereum.core.fact_event_logs
union
select 3, 'ethereum.core.ez_nft_sales', max(block_timestamp)
from ethereum.core.ez_nft_sales
union
select 4, 'ethereum.core.ez_dex_swaps', max(block_timestamp)
from ethereum.core.ez_dex_swaps
union
select 5, 'ethereum.core.ez_nft_mints', max(block_timestamp)
from ethereum.core.ez_nft_mints
ORDER by 1
)
SELECT *,
TO_TIMESTAMP_NTZ(current_timestamp) as last_query_run,
datediff('minute', TO_TIMESTAMP_NTZ(current_timestamp), last_entry) as lag_in_minutes
from cte
Run a query to Download Data