Abolfazl_771025Total
Updated 2022-09-20
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
›
⌄
with bond as (select
split(memo,':')[1] as address,
split(memo,':')[2] as "provider address",
asset_e8/1e8 as "volume (Rune)"
from thorchain.bond_events
where memo like 'BOND:%:%'
), unbond as (select
split(memo,':')[1] as address,
split(memo,':')[2] as "provider address",
asset_e8/1e8 as "volume (Rune)"
from thorchain.bond_events
where memo like 'UNBOND:%:%'
)
select
'Bond' as type,
count(distinct "provider address") as "count of providers",
count(distinct address) as "count of nodes",
sum("volume (Rune)") as "total transaction volume (Rune)"
from bond
group by 1
union
select
'UnBond' as type,
count(distinct "provider address") as "count of providers",
count(distinct address) as "count of nodes",
sum("volume (Rune)") as "total transaction volume (Rune)"
from unbond
group by 1
Run a query to Download Data