Omni LabsBitcoin ETFs Issuers (Activity)
Updated 2024-05-02
999
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
›
⌄
with
-- label
gsheet AS (
SELECT
livequery.live.udf_api(
'GET',
'https://science.flipsidecrypto.xyz/googlesheets/readsheet',
{ 'Content-Type': 'application/json' },
{ 'sheets_id': '1m2mul3uqGcjYA7RCoUnhLNpRaxNwQH2-P9BzxoZS4gM',
'tab_name': 'ETF' }
) as result
from
dual
),
label as (
select
value:"issuer" :: varchar as issuer,
value:"symbol" :: varchar as symbol,
value:"add" :: varchar as
add
from
gsheet,
lateral flatten (input => result:data)
),
-- database
data as (
select
block_timestamp,
'out' as event,
0 - value as value,
pubkey_script_address,
tx_id
from
bitcoin.core.fact_inputs
QueryRunArchived: QueryRun has been archived