Query editor
/* Success! If you're still running into issues, check out https://dune.com/docs/query/syntax-differences/ or reach out in the #dune-sql Discord channel. *//* 根据Mainnet上获取的StarkNet当日的用户数 */WITHtxs AS (SELECTt."block_time",t."from",t."to",CAST(value AS DOUBLE) AS value,t."gas_limit",t."gas_price",t."gas_used"FROMethereum.transactions AS tLEFT JOIN ethereum.logs AS l ON t.hash = l.tx_hashWHERE"contract_address" = 0xae0Ee0A63A2cE6BaeEFFE56e7714FB4EFE48D419AND CAST(value AS DOUBLE) > 0)SELECTDATE_TRUNC('day', block_time) AS day,COUNT(DISTINCT "from") AS daily_usersFROMtxsGROUP BY1ORDER BY1 DESC NULLS FIRST