KaskoazulFirst time transfers into Osmosis transactions
Updated 2023-01-03
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 osmosis_internal as (
select receiver,
block_timestamp,
tx_id,
transfer_type,
amount / pow(10,decimal) as amount,
currency
from osmosis.core.fact_airdrop
where receiver like 'osmo%'
and tx_succeeded = TRUE
union all
select receiver,
block_timestamp,
tx_id,
transfer_type,
amount / pow(10,decimal) as amount,
currency
from osmosis.core.fact_transfers
where transfer_type = 'OSMOSIS'
and receiver like 'osmo%'
and tx_succeeded = TRUE
),
first_transfer as (
select receiver,
min(block_timestamp) as first_transfer_date
from osmosis.core.fact_transfers
where receiver like 'osmo%'
and tx_succeeded = TRUE
and transfer_type = 'IBC_TRANSFER_IN'
group by 1
),
first_transfer_extended as (
select b.receiver as new_address,
b.block_timestamp as first_transfer_date,
Run a query to Download Data