0xHaM-dMiner's Addresses Based on Interval of tx Count
Updated 2022-09-08Copy Reference Fork
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 tb1 as (
select
miner,
tx_count
from ethereum.core.fact_blocks
where tx_count < '{{interval}}' -- 50 by default
AND NETWORK='mainnet'
)
, tb2 as (
select
miner,
tx_count
from ethereum.core.fact_blocks
where tx_count > '{{interval}}' -- 50 by default
AND NETWORK='mainnet'
)
, high_tx_cnt as (
select
miner,
tx_count
from ethereum.core.fact_blocks
where tx_count > '{{interval}}' -- 50 by default
and miner not in (SELECT miner from tb1)
AND NETWORK='mainnet'
)
, low_tx_cnt as (
select
BLOCK_TIMESTAMP::date as date,
miner,
tx_count
from ethereum.core.fact_blocks
where tx_count < '{{interval}}' -- 50 by default
and miner not in (SELECT miner from tb2)
AND NETWORK='mainnet'
)
select
Run a query to Download Data