Query editor
WITH calls AS (SELECTblock_time,tx_id,tx_signer,data,account_argumentsFROM solana.instruction_callsWHERE executing_account = 'pReDicTmksnPfkfiz33ndSdbe2dY43KYPg4U2dbvHvb'AND block_time >= now() - interval '1' dayAND tx_success)SELECTdate_trunc('day', block_time) AS day,CASEWHEN substr(data, 1, 8) = from_hex('4000000000000000') THEN 'initUserOrderEscrow'WHEN substr(data, 1, 8) = from_hex('4100000000000000') THEN 'fillUserOrder'WHEN substr(data, 1, 8) = from_hex('4800000000000000') THEN 'initUserReduceEscrow'WHEN substr(data, 1, 8) = from_hex('4900000000000000') THEN 'fillUserReduce'WHEN substr(data, 1, 8) = from_hex('5800000000000000') THEN 'redeemMarketOutcome'ELSE 'other_or_unknown'END AS ix,count(*) AS instruction_calls,count(distinct tx_id) AS txs,count(distinct tx_signer) AS distinct_signersFROM callsGROUP BY 1, 2ORDER BY 1, 2;