Query editor
-- This query used incompatible data types from Dune SQL alpha and may need to be updated.-- More details can be found on https://dune.com/docs/query/dunesql-changes/SELECTdate_trunc('day', block_time) as time,case when witness_data is null then 'legcay'else 'segwit' end as signed_type,count(*) as inputsFROMbitcoin.inputsgroup by 1,2order by 1 desc