Query editor
selectdate_format( block_time, '%Y-%m') as block_time_Date,lower(cast(bytearray_substring(data,1,4) as varchar)) as function,count(distinct "from") as excetor_number,count(distinct "hash") as tx_times,sum((gas_price/power(10,9))*(gas_used/power(10,9))) AS Total_Fee,(sum((gas_price/power(10,9))*(gas_used/power(10,9))))*0.1 AS estimates_charge_Feefrompolygon.transactionswherelower(cast(bytearray_substring(data,1,4) as varchar))=lower('0xcd2cf366')andlower(cast(to as varchar))=lower('0x7598e84B2E114AB62CAB288CE5f7d5f6bad35BbA')anddate(date_format( "block_time", '%Y-%m-%d')) between date(date_add('day', -720, now())) and date(now())andsuccess=Truegroup bydate_format( block_time, '%Y-%m'),lower(cast(bytearray_substring(data,1,4) as varchar))