Pine AnalyticsTime.fun trade 1-1
    Updated 1 day ago
    with tab1 as (
    select
    block_timestamp,
    tx_id,
    signers[1] as trader,
    'sell' as tx_type,
    INNER_INSTRUCTION['instructions'][0]['parsed']['info']['mint'] as token,
    INNER_INSTRUCTION['instructions'][3]['parsed']['info']['tokenAmount']['uiAmount'] as volume_usd
    from solana.core.fact_events
    where program_id like 'BcyCjbQYxE2m2xTZ5tTZXDEz8Up7avTmPqhzCrASRKiQ'
    and ARRAY_SIZE(instruction['accounts']) = 17
    and ARRAY_SIZE(SIGNERS) = 2
    and SUCCEEDED
    and block_timestamp > '2025-02-20'
    and ARRAY_SIZE(INNER_INSTRUCTION['instructions']) = 4
    union all
    select
    block_timestamp,
    tx_id,
    signers[1] as trader,
    'buy' as tx_type,
    INNER_INSTRUCTION['instructions'][5]['parsed']['info']['mint'] as token,
    INNER_INSTRUCTION['instructions'][4]['parsed']['info']['tokenAmount']['uiAmount'] as volume_usd
    from solana.core.fact_events
    where program_id like 'BcyCjbQYxE2m2xTZ5tTZXDEz8Up7avTmPqhzCrASRKiQ'
    and ARRAY_SIZE(instruction['accounts']) = 17
    and ARRAY_SIZE(SIGNERS) = 2
    and SUCCEEDED
    and block_timestamp > '2025-02-20'
    and ARRAY_SIZE(INNER_INSTRUCTION['instructions']) = 6
    union all
    Last run: 1 day ago
    DAY
    TRADE_EVENTS
    TRADERS
    VOLUME_USD
    1
    2025-03-02 00:00:00.0006114947307917.168988
    2
    2025-03-04 00:00:00.0003090533170920.39655
    3
    2025-03-05 00:00:00.0003421505184832.097184
    4
    2025-02-24 00:00:00.00096719631233917.174651
    5
    2025-03-09 00:00:00.0001833322141236.968703
    6
    2025-03-01 00:00:00.00085651159556036.201242
    7
    2025-02-28 00:00:00.0002921640111827.715354
    8
    2025-03-07 00:00:00.0004618629444957.779309
    9
    2025-02-26 00:00:00.00059251691516772.795225
    10
    2025-03-08 00:00:00.000139918240121.732398
    11
    2025-03-03 00:00:00.00078171012500172.585155
    12
    2025-02-27 00:00:00.000163045658094.130067
    13
    2025-03-10 00:00:00.0003477314685.663598
    14
    2025-03-06 00:00:00.000194129686118.411878
    15
    2025-02-25 00:00:00.0002920439483547655.333068
    15
    766B
    7s