Query editor
SELECTcall.executing_account,d.namespace,(Case when d.program_name is not null then d.program_name else call.executing_account end) as program_name,COUNT(call.tx_id) AS total_calls,COUNT(DISTINCT call.tx_id) AS total_transactions,COUNT(distinct call.tx_signer) as total_userFROM(SELECT tx_id,executing_account,tx_signerFROM solana.instruction_callsWHERE block_date > now() - INTERVAL '1' day) callLEFT JOIN(SELECT program_id, namespace, JSON_VALUE(idl, 'strict $.name') AS program_nameFROM solana.programs) dONd.program_id = call.executing_accountwhere executing_account not in ('ComputeBudget111111111111111111111111111111','11111111111111111111111111111111','TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA')GROUP BY1, 2, 3ORDER BYtotal_transactions DESC;