Salehn-p-compare
Updated 2022-07-20
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
25
26
27
28
29
30
31
32
33
34
35
36
›
⌄
with lst_naer as (
select
iff( split((split((TX_RECEIPT[0]:outcome:status),':')[0]),'{')[1] ilike '%Success%','Successful','Unsuccessful') as Transaction_status
,count(txn_hash) as tx_count
from flipside_prod_db.mdao_near.transactions
where block_timestamp::date >= '2022-07-01'
group by 1
order by 1
)
,lst_sol as (
select
iff(SUCCEEDED,'Successful','Unsuccessful') as Transaction_status
,count(DISTINCT tx_id) as tx_count
from solana.core.fact_transactions
where block_timestamp::date >= '2022-07-01'
group by 1
order by 1
)
,lst_flow as (
select
iff(TX_SUCCEEDED=TRUE,'Successful','Unsuccessful') as Success_count
,count(DISTINCT tx_id) as tx_count
from flow.core.fact_transactions
where block_timestamp::date >= '2021-09-01'
group by 1
order by 1
)
,lst_eth as (
select
iff(STATUS='SUCCESS','Successful','Unsuccessful') as Transaction_status
,count(DISTINCT TX_HASH) as tx_count
from ethereum.core.fact_transactions
where block_timestamp::date >= '2022-07-01'
group by 1
order by 1
)
Run a query to Download Data