Query editor
/* Migration success :)There are some cases such as unnest/sequence and array/json functions the migrator won't take care of for you(but we have examples of in the docs linked below!)If you're still running into issues, check out the doc examples https://dune.com/docs/reference/dune-v2/query-engine/or reach out to us in the Dune discord in the #dune-sql channel.*/SELECTDATE_TRUNC('day', block_time) AS "Day",SUM(CAST(original_amount AS DOUBLE)) AS "Volume Ξ",PERCENTILE_CONT(0.1) WITHIN GROUP (ORDER BYCAST(original_amount AS DOUBLE)) AS "Floor Price Ξ"FROMnft.trades AS nfttWHEREnftt.blockchain = 'ethereum'AND nftt."original_currency" IN ('ETH', 'WETH')AND number_of_items = 1AND platform = 'OpenSea'AND CAST(original_amount AS DOUBLE) > 0.01AND NOT tx_hash IN ('0x92488a00dfa0746c300c66a716e6cc11ba9c0f9d40d8c58e792cc7fcebf432d0','0x0831db6af74c935724b82d72f0ccd269bf428004ff3da2b3d90c310ebe886af0','0xe1ae8d3d31303f4007ab3e7aa99ede8f5878b4e0db7377a3504114469ccf1c83','0x4d69387041e0cef473b2b6bbbedadb025a7ec67d08b115b784a6517a0a976739')AND nft_contract_address = CAST(CONCAT('0x',SUBSTRING('0xdfde78d2baec499fe18f2be74b6c287eed9511d7', 3)) AS VARBINARY)GROUP BY1ORDER BY"Day" DESC NULLS FIRST