-- 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'
    ),
    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,
    Run a query to Download Data