Query editor
SELECTblock_time,tx_hash,chain,bytearray_substring(topic1, 13, 20) AS sender,bytearray_substring(topic2, 13, 20) AS recipient,bytearray_substring(topic3, 13, 20) AS token,CAST(bytearray_to_uint256(bytearray_substring(data, 1, 32)) AS BIGINT) AS dapp_id,bytearray_to_uint256(bytearray_substring(data, 33, 32)) / 1e6 AS gross_amount,bytearray_to_uint256(bytearray_substring(data, 65, 32)) / 1e6 AS protocol_fee,(bytearray_to_uint256(bytearray_substring(data, 33, 32))- bytearray_to_uint256(bytearray_substring(data, 65, 32))) / 1e6 AS bridge_amountFROM (SELECT block_time, tx_hash, topic1, topic2, topic3, data, 'Ethereum' AS chain FROM ethereum.logsWHERE topic0 = 0x291c67a7ba71888cbaa42a46fc7ed0cb398d148453500ef0ab2799932eb84930AND contract_address = 0xE5E6268977575ccFcB50055c17a4563b8b0Ce24EUNION ALLSELECT block_time, tx_hash, topic1, topic2, topic3, data, 'Base' FROM base.logsWHERE topic0 = 0x291c67a7ba71888cbaa42a46fc7ed0cb398d148453500ef0ab2799932eb84930AND contract_address = 0xE5E6268977575ccFcB50055c17a4563b8b0Ce24EUNION ALLSELECT block_time, tx_hash, topic1, topic2, topic3, data, 'Arbitrum' FROM arbitrum.logsWHERE topic0 = 0x291c67a7ba71888cbaa42a46fc7ed0cb398d148453500ef0ab2799932eb84930AND contract_address = 0xE5E6268977575ccFcB50055c17a4563b8b0Ce24E) dORDER BY block_time DESC