NuveveCryptoArchivedStablecoin Market Capitalization Over Time
    Updated 2022-11-24
    with usdc as (
    select
    date_trunc('month', block_timestamp) as month,
    avg(current_bal_usd) as market_cap
    from ethereum.core.ez_balance_deltas
    where contract_address = '0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48'
    and block_timestamp > '2022-01-01'
    group by month
    ),

    busd as (
    select
    date_trunc('month', block_timestamp) as month,
    avg(current_bal_usd) as market_cap
    from ethereum.core.ez_balance_deltas
    where contract_address = '0x4fabb145d64652a948d72533023f6e7a623c7c53'
    and block_timestamp > '2022-01-01'
    group by month
    ),

    alusd as (
    select
    date_trunc('month', block_timestamp) as month,
    avg(current_bal_usd) as market_cap
    from ethereum.core.ez_balance_deltas
    where contract_address = '0xbc6da0fe9ad5f3b0d58160288917aa56653660e9'
    and block_timestamp > '2022-01-01'
    group by month
    ),

    gemini as (
    select
    date_trunc('month', block_timestamp) as month,
    avg(current_bal_usd) as market_cap
    from ethereum.core.ez_balance_deltas
    where contract_address = '0x056fd409e1d7a124bd7017459dfea2f387b6d5cd'
    Run a query to Download Data