Query editor
SELECTtime,name,value / 1e18 as refund_eth,batch_value as batch_value_usd,t.block_number,tx_hash as settlement_tx,t.hash as refund_tx,SUM(value / 1e18) OVER (ORDER BYtime NULLS FIRST) AS cumulative_eth_refundFROM cow_protocol_ethereum.batches as batchINNER JOIN ethereum.blocks as bON block_number = b.numberINNER JOIN ethereum.transactions as tON batch.block_number = t.block_numberAND b.hash = t.block_hashAND "from" = minerAND "to" = 0xCe91228789B57DEb45e66Ca10Ff648385fE7093bJOIN cow_protocol_ethereum.solversON solver_address = addressWHERE b.time >= now() - interval '30' day-- timestamp {start_date}-- AND b.time <-- timestamp {end_date}ORDER by time desc