scottincryptoUntitled Query
Updated 2022-02-27
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
›
⌄
select
'redeem' as type
, sum(event_inputs:redeemAmount::numeric / 1e18) as amount
from ethereum.events_emitted
where contract_address = '0x989273ec41274c4227bcb878c2c26fdd3afbe70d'
and event_name = 'Redeem'
union all
select
'mint' as type
, sum(event_inputs:mintAmount::numeric / 1e18) as amount
from ethereum.events_emitted
where contract_address = '0x989273ec41274c4227bcb878c2c26fdd3afbe70d'
and event_name = 'Mint'
--and block_timestamp > '2022-02-20'
Run a query to Download Data