flipside
Insights
Studio
Quests
For Chains
For Analysts
For Explorers
About
Log in
Sign up
flipside
2023-07-20 12:10 PM
jackguy
2023-07-20 12:10 PM
Copy Reference
Fork
9
1
2
3
4
5
6
7
8
›
⌄
SELECT
date_trunc
(
'week'
,
block_timestamp
)
as
week
,
sum
(
total_reward
-
fees
)
as
block_rewards_btc
,
sum
(
fees
)
as
fees_btc
FROM
bitcoin
.
core
.
ez_miner_rewards
WHERE
block_timestamp
>
'2021-01-01'
GROUP
BY
1
Results
Run a query to Download Data