peteerDaily transfer rate of NFTs on 3 chain
Updated 2022-09-07
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 data_raw_opt as (
select
block_timestamp::date as date,
count(distinct tx_hash) as total
from
optimism.core.fact_event_logs
where
topics[0] = '0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef'
and
event_inputs:tokenId is not null
group by 1
),
data_all_opt as (
select
block_timestamp::date as date,
count(distinct tx_hash) as total
from
optimism.core.fact_transactions
where
status = 'SUCCESS'
group by 1
)
, data_opt as (
select
a.date,
(a.total/b.total)*100 as rate
from
data_raw_opt a join data_all_opt b on a.date = b.date
)
, data_raw_arb as (
select
block_timestamp::date as date,
count(distinct tx_hash) as total
from
arbitrum.core.fact_event_logs
where
Run a query to Download Data