Query editor
/*──────────────────────────────────────────────────────────────Dogstar League - Weekly Dogwallets Created Trend▸ Shows the number of new Dogwallet accounts created per weekby the Dogwallet funder ('GDYA...VC3R').──────────────────────────────────────────────────────────────*/WITHparams AS (SELECT'GDYAPTNACFQVAPUCD6LIV3RK75ERETZAID6KAN6K6NCPLEOBUCWPVC3R' AS dogwallet_funder-- Optional: Add a start date if funding didn't begin immediately-- , date('YYYY-MM-DD') AS analysis_start_date)SELECTdate_trunc('week', h.closed_at) AS creation_week, -- Truncate creation time to the start of the weekCOUNT(h.account) AS new_dogwallets_count -- Count accounts created in that weekFROM stellar.history_operations hJOIN params p ON TRUEWHEREh.type_string = 'create_account'AND h.funder = p.dogwallet_funder-- Optional: Uncomment the line below if you added an analysis_start_date-- AND h.closed_at >= p.analysis_start_dateGROUP BY1 -- Group by the truncated week (creation_week)ORDER BYcreation_week ASC -- Order chronologically for the graph