Query editor
WITHeth_op AS (SELECT_refundAddress AS sender,round(cast(json_extract(_s, '$.amount') AS double) / 1e18,2 ) AS amountFROMstargate_optimism.Bridge_call_swapWHEREcall_success = true AND (_srcPoolId = cast(13 AS UINT256))),eth_arb AS(SELECT_refundAddress AS sender,round(cast(json_extract(_s, '$.amount') AS double) / 1e18, 2) AS amountFROMstargate_arbitrum.Bridge_call_swapWHEREcall_success = true AND (_srcPoolId = cast(13 AS UINT256))),eth_eth AS(SELECT_refundAddress AS sender,round(cast(json_extract(_s, '$.amount') AS double) / 1e18, 2 ) AS amountFROMstargate_ethereum.Bridge_call_swapWHEREcall_success = true AND (_srcPoolId = cast(13 AS UINT256))),eth AS(SELECT * FROM eth_opUNION ALLSELECT * FROM eth_arbUNION ALLSELECT * FROM eth_eth)SELECTsender,SUM(amount) as eth_totalFROM ethGROUP BY 1