Query editor
withchainlink AS (SELECTblock_time,varbinary_to_uint256(data) AS update_ts,varbinary_to_uint256(topic2) AS round_id,varbinary_to_uint256(topic1) / 1e18 AS price,tx_hash AS txFROM ethereum.logsWHERE block_number > 19384478AND contract_address = 0xAA2794B0b931966B88c2DABBE3Ac70B9c1521f4aAND topic0 = 0x0559884fd3a460db3073b7fc896cc77986f16e378210ded43186175bf646fc5f),aggregate AS (SELECTblock_time, update_ts,(SELECT c2.update_ts FROM chainlink c2 WHERE c2.round_id = c.round_id - 1) AS previous_ts,round_id, tx, priceFROM chainlink c),query AS (SELECT block_time, update_ts, (update_ts - previous_ts) AS update_gap, round_id, tx, priceFROM aggregate)SELECT *FROM queryORDER BY 1 DESC