Pine Analyticsrepulsive-pink
    Updated 2025-03-19
    with tab1 as (
    SELECT
    date(hour) as date,
    'USDC' as token,
    sum(
    CASE when type like 'mint' then volume else -volume end
    ) as net_mint,
    sum(net_mint) over (order by date) as supply
    FROM (
    SELECT
    date_trunc('hour', block_timestamp) as hour,
    'mint' as type,
    tx_id,
    --tx_to as wallet,
    mint_amount/power(10, 6) as volume
    FROM eclipse.defi.fact_token_mint_actions
    where mint like 'AKEWE7Bgh87GPp171b4cJPSSZfmZwQ3KaqYqXoKLNAEE'
    and succeeded
    UNION all
    SELECT
    date_trunc('hour', block_timestamp) as hour,
    'burn' as type,
    tx_id,
    --signers[0] as wallet,
    burn_amount/power(10, 6) as volume
    FROM eclipse.defi.fact_token_burn_actions
    where mint like 'AKEWE7Bgh87GPp171b4cJPSSZfmZwQ3KaqYqXoKLNAEE'
    and succeeded
    )
    GROUP BY 1,2
    Last run: about 2 months ago
    DATE
    TOKEN
    NET_MINT
    SUPPLY
    DATE1
    WIF_PRICE
    SOL_PRICE
    ORCA_PRICE
    TVL_USD
    1
    2025-02-28 00:00:00.000USDC196583.32252515987997.944322025-02-28 00:00:00.0000.575977135.6767295381.7115987997.94432
    2
    2025-02-01 00:00:00.000USDC480819.37003915146915.9588312025-02-01 00:00:00.0001.1228.1943530732.8115146915.958831
    3
    2025-03-11 00:00:00.000USDC21745.06785316420938.9365292025-03-11 00:00:00.0000.4452515123.2701626231.4716420938.936529
    4
    2024-09-27 00:00:00.000USDC26428.298743234.1514262024-09-27 00:00:00.0002.3157.5252.29543234.151426
    5
    2024-10-02 00:00:00.000USDC4474.318952299.1798322024-10-02 00:00:00.0002.31146.042.2352299.179832
    6
    2024-10-12 00:00:00.000USDC6475.85989128185.6323852024-10-12 00:00:00.0002.73146.292.2128185.632385
    7
    2025-02-01 00:00:00.000WIF-720.777111723.6358462025-02-01 00:00:00.0001.1228.1943530732.8112895.9994306
    8
    2025-03-11 00:00:00.000WIF6.069319740.219992025-03-11 00:00:00.0000.4452515123.2701626231.478789.362560877
    9
    2024-09-27 00:00:00.000WIF3.697961671.8618112024-09-27 00:00:00.0002.3157.5252.295141845.2821653
    10
    2024-10-02 00:00:00.000WIF8.539461853.7346112024-10-02 00:00:00.0002.31146.042.23142882.12695141
    11
    2024-10-12 00:00:00.000WIF224.665271550.6066122024-10-12 00:00:00.0002.73146.292.2195333.15605076
    12
    2025-02-28 00:00:00.000WIF-0.14117317397.8040532025-02-28 00:00:00.0000.575977135.6767295381.7110020.734985035
    13
    2025-02-01 00:00:00.000SOL632.63280946228811.1501068122025-02-01 00:00:00.0001.1228.1943530732.816574541.75991894
    14
    2025-03-11 00:00:00.000SOL-1115.91563225143242.7532491892025-03-11 00:00:00.0000.4452515123.2701626231.475330541.22528856
    15
    2025-02-28 00:00:00.000SOL-748.20979192738455.8486042442025-02-28 00:00:00.0000.575977135.6767295381.715217563.77021331
    16
    2024-09-27 00:00:00.000SOL3.123367695424.9810557212024-09-27 00:00:00.0002.3157.5252.29566945.140802451
    17
    2024-10-02 00:00:00.000SOL-22.738328118474.5035508352024-10-02 00:00:00.0002.31146.042.2369296.498563943
    18
    2024-10-12 00:00:00.000SOL-8.285473838711.4127996132024-10-12 00:00:00.0002.73146.292.2104072.578455386
    19
    2025-02-28 00:00:00.000USDT-12303.0796231440267.4835372025-02-28 00:00:00.0000.575977135.6767295381.711440267.483537
    20
    2025-02-01 00:00:00.000USDT4779.21191173694.4443682025-02-01 00:00:00.0001.1228.1943530732.811173694.444368
    ...
    939
    113KB
    530s