shawnedwards2023-04-20 08:11 PM
    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'
    ),
    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)
    ),
    OriginChainT as (
    select
    block_timestamp,
    tx_id,
    attribute_value as Origin_Chain
    from axelar.core.fact_msg_attributes
    where tx_succeeded = 'TRUE'
    and attribute_key = 'sourceChain'
    and tx_id in (select tx_id from DestinationChainT)
    ),
    OriginUserT as (
    select block_timestamp,
    tx_id,
    attribute_value as Origin_User
    from axelar.core.fact_msg_attributes
    where tx_succeeded = 'TRUE'
    and attribute_key = 'sender'
    Run a query to Download Data