freemartianTotal ETH bridge to Linea
Updated 2023-11-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
›
⌄
-- bridg ETH from ethereum
with eth_from_ethereum AS(
select
block_timestamp,
from_address,
tx_hash,
eth_value
from ethereum.core.fact_traces
where
RIGHT (ethereum.public.udf_hex_to_int(data:value :: STRING),4) = 9023
AND
to_address IN ('0xe4edb277e41dc89ab076a1f049f4a3efa700bce8','0x80c67432656d59144ceff962e8faf8926599bcf8')
AND block_timestamp::date > '2023-07-01'
),
eth_from_optimism AS(
select
block_timestamp,
from_address,
tx_hash,
eth_value
from optimism.core.fact_traces
where
RIGHT (optimism.public.udf_hex_to_int(data:value :: STRING),4) = 9023
AND
to_address IN ('0xe4edb277e41dc89ab076a1f049f4a3efa700bce8','0x80c67432656d59144ceff962e8faf8926599bcf8')
AND block_timestamp::date > '2023-07-01'
),
eth_from_arbitrum AS (
select
block_timestamp,
from_address,
tx_hash,
eth_value
from arbitrum.core.fact_traces
where
RIGHT (ethereum.public.udf_hex_to_int(data:value :: STRING),4) = 9023
Run a query to Download Data