Query editor
selectpt.block_time as "timestamp", casewhen substr(pt."data",1,4) = 0x2bc8373a then 'createPost'when substr(pt."data",1,4) = 0x59b11576 then 'updatePost'when substr(pt."data",1,4) = 0x094cd5ee then 'deletePost'when substr(pt."data",1,4) = 0x775a25e3 then 'getTotal'-- when substr(pt."data",1,4) = 0x8da5cb5b then 'owner'when substr(pt."data",1,4) = 0xa068fd80 then '0xa068fd80'when substr(pt."data",1,4) = 0xd4070542 then '0xd4070542'-- when substr(pt."data",1,4) = 0x0b1e7f83 then 'posts'-- when substr(pt."data",1,4) = 0x40731c24 then 'getPost'else 'unkown'end as selector-- , from_big_endian_32(substr(substr(p."data",5,32),29,4)) as idx, pt."from" as msg_sender, pt."to" as contract_address, pt.hash as tx_hash, pt."data" as raw_data, from_utf8(from_hex(cast(pt.data as varchar))) as decoded_input_datafrom polygon.transactions ptwhere pt.block_time between cast('{{start_date}}' as timestamp) and now()-- and pt."to" = 0x757984507c82c8da1d3969c535db5706eee6426cand (substr(pt."data",1,4) = 0x2bc8373a orsubstr(pt."data",1,4) = 0x59b11576 orsubstr(pt."data",1,4) = 0x094cd5ee orsubstr(pt."data",1,4) = 0x775a25e3 or-- substr(pt."data",1,4) = 0x8da5cb5b orsubstr(pt."data",1,4) = 0xa068fd80 orsubstr(pt."data",1,4) = 0xd4070542-- substr(pt."data",1,4) = 0x0b1e7f83 or-- substr(pt."data",1,4) = 0x40731c24)order by pt.block_time desc