Query editor
-- frxUSD + sfrxUSD Daily Active Users (DAU) — multi-chain, ecosystem-wide---- Definition-- A "DAU" is a unique wallet that sent OR received frxUSD OR sfrxUSD on a-- given day, on ANY supported chain. The zero address (mint/burn endpoint)-- is excluded, but the non-zero counterparty IS credited — so mints credit-- the recipient and redeems credit the sender. On Solana, the SPL token-- account is dereferenced to its owner wallet, so a "DAU" is always a wallet-- (not a token account). A wallet active on multiple chains/tokens the same-- day is counted once in `dau`, and once per (chain, address) in-- `dau_chain_sum`. sfrxUSD users are included since stakers are real Frax-- ecosystem users; deduped against frxUSD users (so doing both = 1 DAU).---- Why this definition-- "Send or receive" is the standard Dune ERC20 DAU definition. Restricting to-- senders alone undercounts: an address paid in frxUSD is just as real a-- user as one paying with it. Excluding 0x0 prevents mint/burn from-- inflating with a fake "user."---- Chains covered (top 5 by frxUSD supply minus Fraxtal, plus Sei)-- Ethereum 111.25M frxUSD (+ sfrxUSD: staked frxUSD, address 0xcf62...)-- Sonic 2.50M frxUSD-- Base 781.05K frxUSD-- Solana 455.73K frxUSD-- Sei 7.61K frxUSD (added per request — supply is small but-- user reports meaningful onchain activity)-- (Fraxtal 14.42M is the #2 chain by supply but is excluded — Dune does not-- index it. Real ecosystem DAU is materially higher than this query reports,-- since frxUSD is the gas token on Fraxtal. sfrxUSD on non-Ethereum chains-- is also not included — addresses not yet sourced; staking activity is-- heavily Ethereum-concentrated.)---- Date floor: 2025-01-01WITH evm_transfers AS (SELECT 'ethereum' AS chain, evt_block_time, "from" AS sender, "to" AS receiverFROM erc20_ethereum.evt_TransferWHERE contract_address = 0xcacd6fd266af91b8aed52accc382b4e165586e29AND evt_block_time >= TIMESTAMP '2025-01-01'UNION ALLSELECT 'sonic', evt_block_time, "from", "to"FROM erc20_sonic.evt_TransferWHERE contract_address = 0x80eede496655fb9047dd39d9f418d5483ed600dfAND evt_block_time >= TIMESTAMP '2025-01-01'UNION ALLSELECT 'base', evt_block_time, "from", "to"FROM erc20_base.evt_TransferWHERE contract_address = 0xe5020a6d073a794b6e7f05678707de47986fb0b6AND evt_block_time >= TIMESTAMP '2025-01-01'UNION ALLSELECT 'sei', evt_block_time, "from", "to"FROM erc20_sei.evt_TransferWHERE contract_address = 0x80eede496655fb9047dd39d9f418d5483ed600dfAND evt_block_time >= TIMESTAMP '2025-01-01'UNION ALL-- sfrxUSD (staked frxUSD) on Ethereum mainnet — same chain, different token.