freemartianAirdrop Claim Distribution copy
    Updated 2024-02-14

    with txs AS (
    SELECT
    *
    FROM solana.core.fact_events
    WHERE block_timestamp::date >= '2024-01-31'
    -- AND tx_id = '3wWcrgvBLsuZBwVCeM2m78EJM7tv1VvsbqeHJmo52sPvKdLEKe4VNr75TAcbSSABzqTRTFaRs7vdEoXagYAJA1ta'
    -- AND mint = 'JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN'
    AND program_id = 'meRjbQXFNf5En86FXT2YPz1dQzLj4Yb3xK8u1MVgqpb'
    ),

    claim AS(
    SELECT
    block_timestamp,
    tx_id,
    tx_to,
    amount
    FROM solana.core.fact_transfers
    WHERE tx_id IN (SELECT tx_id FROM txs)
    AND block_timestamp::date >= '2024-01-31'
    -- AND tx_id = '3wWcrgvBLsuZBwVCeM2m78EJM7tv1VvsbqeHJmo52sPvKdLEKe4VNr75TAcbSSABzqTRTFaRs7vdEoXagYAJA1ta'
    AND mint = 'JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN'
    )

    SELECT
    amount,
    count(DISTINCT tx_to) AS wallet
    FROM claim
    GROUP BY 1



    Last run: about 1 year ago
    AMOUNT
    WALLET
    1
    202004475
    2
    820012
    3
    74507
    4
    337002
    5
    154501
    6
    5101
    7
    01
    8
    171
    9
    520032
    10
    220012
    11
    109505
    12
    157004
    13
    152002
    14
    952002
    15
    620018
    16
    1560001
    17
    304501
    18
    934501
    19
    72.51
    20
    2071
    ...
    145
    1KB
    442s