LittlerDatatop shot settlement period top 100 secondary market buyers
    Updated 2025-02-17
    with topshot as (
    select
    buyer
    ,price
    ,tx_id
    ,nft_id
    ,marketplace
    from flow.nft.ez_nft_sales
    where block_timestamp between '2020-06-15' and '2021-12-27'
    and nft_collection = 'A.0b2a3299cc857e29.TopShot'
    ),

    buyers as (

    select
    buyer
    ,price * 5 / 100 as reinbursement_amount
    ,price
    ,nft_id
    from topshot
    )

    select
    buyer
    ,count(nft_id) as moments
    ,sum(reinbursement_amount) as amount_reinbursed
    ,sum(price) as total_spent
    from buyers
    group by 1
    having amount_reinbursed > 5
    order by total_spent desc
    limit 100
    Last run: 2 months ago
    BUYER
    MOMENTS
    AMOUNT_REINBURSED
    TOTAL_SPENT
    1
    0x7f6ab6a73dfa26de1179156412.13128242
    2
    0x8c7e0120ac50548b1367142234.92844698
    3
    0x58bdc3d07e83ba181034691440.41828808
    4
    0x382b5826bac76e92115890951.751819035
    5
    0xed8707e2ae5bba5a1589583532.651670653
    6
    0x09e0be3fbfa1ba85539472284.551445691
    7
    0x5d6f037691b21f2c1033169844.21396884
    8
    0xba1a13299beb4b19195762392.451247849
    9
    0x640705263fe8f11b316557953.151159063
    10
    0xb12c1ea9a21cd87544954343.91086878
    11
    0xf26d83428d355797276351623.51032470
    12
    0x97f780c2c7f19611108349851.9997038
    13
    0x3795d42c0fc3a3731378745755.1915102
    14
    0x4510baedf53b435a275543869.55877391
    15
    0x8c80e74b673dbc21946043648.85872977
    16
    0x714470c84486e852151642827.3856546
    17
    0xf5d1b36f376ee7f32206640155.15803103
    18
    0x198e08b58a561c74394939806.85796137
    19
    0xf7e02d72a6957e16120438902.75778055
    20
    0x6c5f8020fbd4bd6b396137369.05747381
    100
    4KB
    2s