Query editor
WITH router (address, name, blockchain) AS (VALUES(0x156ACd2bc5fC336D59BAAE602a2BD9b5e20D6672, 'OKX Wallet', 'ethereum'),(0x6088d94C5a40CEcd3ae2D4e0710cA687b91c61d0, 'OKX Wallet', 'ethereum'),(0x3b3ae790Df4F312e745D270119c6052904FB6790, 'OKX Wallet', 'ethereum'),(0x7d0ccaa3fac1e5a943c5168b6ced828691b46b36, 'OKX Wallet', 'ethereum'),(0xC0FaB674fF7DdF8B891495bA9975B0Fe1dCaC735, 'OKX Wallet', 'ethereum'),(0xd688Ab46dC476a05a093e4442D06cEB348aDbDA8, 'OKX Wallet', 'ethereum'),(0xa7FD99748cE527eAdC0bDAc60cba8a4eF4090f7c, 'OKX Wallet', 'ethereum'),(0x6747BcaF9bD5a5F0758Cbe08903490E45DdfACB5, 'OKX Wallet', 'ethereum'),(0x2E1Dee213BA8d7af0934C49a23187BabEACa8764, 'OKX Wallet', 'ethereum'),(0xa875Fb2204cE71679BE054d97f7fAFFeb6536D67, 'OKX Wallet', 'ethereum'),(0x3c11f6265ddec22f4d049dde480615735f451646, 'Trust Wallet', 'ethereum'),(0x67ccc64e3fc774e65192c2fb52b4b605c55547ef, 'Bitget', 'ethereum'),(0xa3a961f860808fb971ac854570f74a11384b6410, 'Bitget', 'ethereum'),(0x2409b99d8ae26be02f3ef1ca9b0c1d279eacd408, 'Bitget', 'ethereum'),(0xd2e784daa6caada0cd2ad3d0f69d57609d61054c, 'Bitget', 'ethereum'),(0x85e6fb3c048f78e417b3c49b31688afcc97217f7, 'Bitget', 'ethereum'),(0xd3833b5944894a7dd2460f4c6384fd09e6eb35b4, 'Bitget', 'ethereum'),(0x95f76ec1492083eeb65a9f9222ff0b4430455ace, 'Bitget', 'ethereum'),(0x4adbd6399acbc5c059f8f8ae580448f431f63d01, 'Bitget', 'ethereum'),(0x7733c074889aeb4ac26de3be8122f663fdc8947f, 'Bitget', 'ethereum'),(0xa3c09654498652ee1006548259abaa7fd85037ab, 'Bitget', 'ethereum'),(0xa3328ebbb14b95ce760effd11d1914b905d97ac2, 'Bitget', 'ethereum'),(0x027c368a8e6720f501d99f78d2630e56ca0a6878, 'Bitget', 'ethereum'),(0xd652f4a38575997029142a31d61728e3cc5813fe, 'Bitget', 'ethereum'),(0x78edaae7267fa4704f6d74b8f40ba5d6c73a484d, 'Bitget', 'ethereum'),(0x0c9bf33a6f4496843a41a90bf66ce3c6fe856e25, 'Bitget', 'ethereum'),(0x01ffdd7a6513fba93ff0d4febfe7679746227777, 'Bitget', 'ethereum'),(0xdf32330f807ce33e1549e22a640e2d6b81d2ebad, 'Bitget', 'ethereum'),(0xb347abf310504e239c4a96d7fab6d7e55a73e31c, 'Bitget', 'ethereum'),(0x789363becc4cc4982f1eda3de9ec82cb693e3af1, 'Bitget', 'ethereum'),(0xce12d7dd9cb5ce30994465e2085ceb727d2a37ce, 'Bitget', 'ethereum'),(0x9019809cb3ffbc41ff8b3839de5493005678eeb4, 'Bitget', 'bnb'),(0xbb964dfe9f23ae9a75cbb9585faa51d62982cc23, 'Bitget', 'bnb'),(0xc0a5058258be5764fd4ad71fe4e32bdc8ae27e0a, 'Bitget', 'bnb'),(0x6fbc87bb02f61c4e3909f9f6599e149841370f78, 'Bitget', 'bnb'),(0x2177a30609500b91f66e8c322b3304d99d83ea33, 'Bitget', 'bnb'),(0xb426e20bcb7121d2a8130d257cfceec66d8e9159, 'Bitget', 'bnb')),token_addresses AS (SELECT address, symbol, name, type, price, 'ethereum' AS blockchainFROM dune.ondo_team.result_ondo_assetsUNION ALLSELECT address_bnb AS address, symbol, name, type, price, 'bnb' AS blockchainFROM dune.ondo_team.result_ondo_assets),chains AS (SELECT chain FROM UNNEST(split('{{chains}}', ',')) AS t(chain)),logs AS (SELECT block_time, block_date, contract_address, topic0, topic1, topic2, topic3,data, tx_hash, tx_from, tx_to, 'ethereum' AS blockchainFROM ethereum.logsWHERE block_date >= CURRENT_DATE - INTERVAL '90' DAYAND 'ethereum' IN (SELECT chain FROM chains)UNION ALL