Eman-RazStatus of Transactions
Updated 2023-03-14
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
›
⌄
with table1 as (with tab1 as (select from_address as user_, min(block_timestamp::date) as First_Tx_date
from gnosis.core.fact_transactions
group by 1
order by 1)
select user_
from tab1
where First_Tx_date<'2022-10-05'),
table2 as (select block_timestamp::date as date, from_address, count(distinct tx_hash) as tx_count, to_address, status
from gnosis.core.fact_transactions
where block_timestamp::date='2022-10-05'
group by 1,2,4,5)
select sum(tx_count) as "Tx Count", status
from table1 left join table2 on table1.user_=table2.from_address
where status is not null and to_address='0xc38d4991c951fe8bce1a12beef2046ef36b0fa4a'
group by 2
Run a query to Download Data