adriaparcerisasbase1.4
Updated 2023-03-24
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
›
⌄
SELECT
DATE_TRUNC('day', block_timestamp) AS date,
COUNT(distinct tx_hash) AS num_transactions,
sum(case when status='SUCCESS' then 1 else 0 end)/sum(case when status='SUCCESS' then 1 else 1 end) as success_rate,
avg(tx_fee) as avg_tx_fee,
avg(gas_price) as avg_gas_price
FROM base.goerli.fact_transactions
GROUP BY 1
order by 1 asc
Run a query to Download Data