Abolfazl_771025total osmo deposit and withdrawn
    Updated 2022-12-07
    select
    'deposited' as action,
    sum(amount / pow(10,6)) as "volume",
    count(tx_id) as count
    from osmosis.core.fact_liquidity_provider_actions
    where pool_id = 812
    and currency = 'uosmo'
    and action ='pool_joined'
    and block_timestamp >= '2022-09-27 16:31:00'
    and tx_status = 'SUCCEEDED'
    group by 1
    union
    select
    'withdraw' as action,
    sum(amount / pow(10,6)) as "volume",
    count(tx_id) as count
    from osmosis.core.fact_liquidity_provider_actions
    where pool_id = 812
    and currency = 'uosmo'
    and action ='pool_exited'
    and block_timestamp >= '2022-09-27 16:31:00'
    and tx_status = 'SUCCEEDED'
    group by 1
    Run a query to Download Data