hesstest II copy
Updated 2023-08-19
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
›
⌄
SELECT
*,
sum(transfers) over (partition by chain order by week) as total_ibc_transfers
FROM (
SELECT
week,
chain,
count(DISTINCT tx_id) as transfers
FROM (
SELECT
date_trunc('week', block_timestamp) as week,
tx_id,
'SEI' as chain
FROM osmosis.core.fact_transfers
WHERE receiver LIKE 'sei%'
UNION
SELECT
date_trunc('week', block_timestamp) as week,
tx_id,
'Cosmos' as chain
FROM cosmos.core.fact_transfers
WHERE transfer_type LIKE '%IBC%'
UNION
SELECT
date_trunc('week', block_timestamp) as week,
tx_id,
'Terra2' as chain
FROM terra.core.ez_transfers
Run a query to Download Data