adambalanoun138
    Updated 2022-10-23
    with eth as
    (select
    BLOCK_TIMESTAMP ::date as date ,
    CREATOR_FEE ,
    CREATOR_FEE_USD
    from
    ethereum.core.ez_nft_sales where CURRENCY_ADDRESS='ETH' and EVENT_TYPE='sale' and
    lower(NFT_ADDRESS)=lower('0x9c8ff314c9bc7f6e59a9d9225fb22946427edc03')
    )

    , ethh as (select
    date ,
    sum(CREATOR_FEE) as CREATOR_FEEs ,
    sum(CREATOR_FEE_USD) as CREATOR_FEE_USDs ,
    sum(CREATOR_FEEs) over (order by date) as "cum CREATOR FEE ETH" ,
    sum(CREATOR_FEE_USDs) over (order by date) as "cum CREATOR FEE USD"

    from eth group by 1)

    select *
    from ethh


    Run a query to Download Data