freemartianUntitled Query
    Updated 2022-12-09
    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'
    and tx_id in (select tx_id from DestinationChainT)),

    BridgeT as (
    Run a query to Download Data