Query editor
WITH titan_traces AS (SELECT tr.block_time, tr.block_number, tr."from", tr."to", tr.value/1e18 as value_eth, tr.tx_hash, tr.type,CASE WHEN tr."from" = 0x4838b106fce9647bdf1e7877bf73ce8b0bad5f97 THEN 'OUT' ELSE 'IN' END as directionFROM ethereum.traces trWHERE (tr."from" = 0x4838b106fce9647bdf1e7877bf73ce8b0bad5f97 OR tr."to" = 0x4838b106fce9647bdf1e7877bf73ce8b0bad5f97)AND tr.block_date >= current_date - interval '60' dayAND tr.value > 0 AND tr.success AND tr.tx_success)SELECT direction, block_time, "from", "to", value_eth, tx_hash, typeFROM titan_tracesORDER BY value_eth DESCLIMIT 25