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. */SELECTSUM((CAST(value AS DOUBLE) / 1000000000000000000) * 0.025) * 0.65 AS Quickswapfee,SUM((CAST(value AS DOUBLE) / 1000000000000000000) * 0.025) * 0.35 AS BhavishFeeFROMbhavish_prediction_polygon.BhavishSDKV2_call_predictJOIN polygon.transactions ON bhavish_prediction."BhavishSDKV2_call_predict"."call_tx_hash" = polygon.transactions.hashWHEREcall_success = TRUEAND "_provider" = 0xcf0b86f9944a60a0ba22b51a33c11d9e4de1ce9f