Query editor
SELECTt.unique_key,t.block_time,t.tx_hash,t.token_standard,t."from" as sender,s.fname as sender_fname,t."to" as receiver,r.fname as receiver_fname,t.symbol,t.amount,t.amount_usd,CASEWHEN t."from" = 0xD9E1B1a9D5DCc1869beaC6712959C2b88473C0EC THEN 'outflow'WHEN t."to" = 0xD9E1B1a9D5DCc1869beaC6712959C2b88473C0EC THEN 'inflow'END as flow_typeFROM tokens_base.transfers tLEFT JOIN query_3695499 sON LOWER(CAST(t."from" AS VARCHAR)) = LOWER(s.individual_address)LEFT JOIN query_3695499 rON LOWER(CAST(t."to" AS VARCHAR)) = LOWER(r.individual_address)WHEREt.block_month >= timestamp '2024-10-01 00:00'AND (t."from" = 0xD9E1B1a9D5DCc1869beaC6712959C2b88473C0ECOR t."to" = 0xD9E1B1a9D5DCc1869beaC6712959C2b88473C0EC)order by t.block_time desc