Pine AnalyticsBlast Swaps 1
Updated 2024-07-19
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
›
⌄
with tab_swap as (
select
tx_hash
from blast.core.ez_decoded_event_logs
where event_name like 'Swap'
)
SELECT
date_trunc('hour', block_timestamp) as Date,
sum(amount) as Amount_BLAST,
count(distinct tx_hash) as Swaps,
count(distinct from_address) as Swappers
from blast.core.ez_token_transfers
where contract_address like '0xb1a5700fa2358173fe465e6ea4ff52e36e88e2ad'
and symbol like 'BLAST'
and tx_hash in (select tx_hash from tab_swap)
and amount is not null
group by 1
QueryRunArchived: QueryRun has been archived