0xHaM-dATOM Balance
    -- forked from OSMO Balanace @ https://flipsidecrypto.xyz/edit/queries/5cac6a5d-6c35-4f82-affc-f96916c1da8c

    -- forked from NEAR Blanace @ https://flipsidecrypto.xyz/edit/queries/56d3a0bb-ffa0-48f2-8d74-2b302cb74a48

    with multi_snd as (
    select
    tx_hash,
    logs,
    split_part(value,'Sending ',2) a,
    try_to_numeric(split_part(a,' yNEAR',1))/1e24 as amount,
    split_part(a,'@',2)::string as receiver
    from near.core.fact_receipts, lateral flatten(input => logs) b
    where RECEIVER_ID = 'multisender.app.near'
    and STATUS_VALUE ilike '%SuccessValue%'
    and logs[0] is not NULL
    )
    , multi_send as (
    SELECT
    a.tx_hash,
    tx_signer as sender,
    receiver,
    amount
    FROM multi_snd a join near.core.fact_transactions b USING(tx_hash)
    )
    ,multi_receive as (
    select
    tx_hash,
    split_part(value,'Sending ',2) a,
    split_part(a,'@',2) as receiver,
    try_to_numeric(split_part(a,' yNEAR',1))/1e24 as amount
    from near.core.fact_receipts, lateral flatten(input => logs) b
    where RECEIVER_ID = 'multisender.app.near'
    and STATUS_VALUE ilike '%SuccessValue%'
    and logs[0] is not NULL
    Run a query to Download Data