freemartianMints & minters Count - Single Number
    Updated 2023-04-13
    with source as (
    select
    tx_hash,
    block_timestamp,
    contract_address as collection,
    event_inputs:_to as minter,
    event_inputs:_id as NFTid
    from polygon.core.fact_event_logs
    where origin_function_signature in ('0x5a86c41a', '0x669f5a51')
    and event_inputs:_from = '0x0000000000000000000000000000000000000000'
    and event_name = 'TransferSingle'
    and tx_status = 'SUCCESS')

    select
    count(distinct tx_hash) as mints,
    count(distinct minter) as minters_count
    from source



    Run a query to Download Data