hessDaily Share
Updated 2025-01-05
999
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
›
⌄
-- forked from Top Projects by Bridge Users @ https://flipsidecrypto.xyz/studio/queries/c354f43c-b8cc-46e2-bc2f-148aec10c8d6
with avalanche_base as ( select DISTINCT tx_hash,
block_timestamp,
from_address,
origin_from_address,
symbol,
amount,
amount_usd
from avalanche.core.ez_token_transfers
where origin_to_address = lower('0x1231deb6f5749ef6ce6943a275a1d3e7486f4eae')
and block_timestamp::Date >= current_date - 60
UNION
select DISTINCT tx_hash,
block_timestamp,
from_address,
origin_from_address,
'AVAX' as symbol,
amount,
amount_usd
from avalanche.core.ez_native_transfers
where origin_to_address = lower('0x1231deb6f5749ef6ce6943a275a1d3e7486f4eae')
and block_timestamp::Date >= current_date - 60
)
,
avalanche_baseII as (select a.block_timestamp::date as date,
a.tx_hash,
b.origin_from_address,
'Avalanche' as chain,
decoded_log:bridgeData:bridge::string as bridge,
b.amount_usd,
b.symbol
from avalanche.core.fact_decoded_event_logs a join avalanche_base b on a.tx_hash = b.tx_hash
where a.contract_address = lower('0x1231deb6f5749ef6ce6943a275a1d3e7486f4eae')
and decoded_log:bridgeData:destinationChainId::string = '1329'
and b.from_address = b.origin_from_address
QueryRunArchived: QueryRun has been archived