ibcflanConnor Query Copy copy
Updated 2023-02-16Copy Reference Fork
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 9708f358-e52a-46f4-b484-d2f1e4f7aa04
-- forked from 6bd7c26d-69d3-4649-8bce-3e7b097924e5
-- forked from 387775b0-bf31-4b35-b018-561476bf6553
with
DestinationChainT as (
select
block_timestamp,
tx_id,
attribute_value as Destination_Chain
from
axelar.core.fact_msg_attributes
where
tx_succeeded = 'TRUE'
and attribute_key = 'destinationChain'
-- and block_timestamp >= CURRENT_DATE - 3
),
DestinatinoUserT as (
select
block_timestamp,
tx_id,
attribute_value as Destination_User
from
axelar.core.fact_msg_attributes
where
tx_succeeded = 'TRUE'
and attribute_key = 'destinationAddress'
and tx_id in (
select
tx_id
from
DestinationChainT
)
-- and block_timestamp >= CURRENT_DATE - 3
Run a query to Download Data