Query editor
WITH address AS ( -- Query created by @hildobby/@dobbythereum, ENS is here to stay - dobbythereum.ethSELECT (CASE WHEN substring('{{Wallet address:}}', (length('{{Wallet address:}}') - 3), (length('{{Wallet address:}}'))) != '.eth'THEN CONCAT('\',LTRIM('{{Wallet address:}}', '0'))::bytea-- 👆 replace '0' by '\' if it's already an ETH address-- 👇 fetches ETH address from ENS registration records if input ends with '.eth'ELSE dune_user_generated.get_address_from_ens('{{Wallet address:}}') END) AS address -- Thanks to @msilb7 for this abstraction)SELECT address FROM address