Query editor
WITH mints_eth AS (SELECTevt_tx_hash,evt_block_time,"to" AS "user",value / POW(10,8) as "uniBTC_amount",'mint' as "type",'Ethereum' as "chain"from erc20_ethereum.evt_transferwhere contract_address = 0x004e9c3ef86bc1ca1f0bb5c7662861ee93350568and "from" in (0x0000000000000000000000000000000000000000)),burns_eth AS (SELECTevt_tx_hash,evt_block_time,"from" AS "user",-1 * (value / POW(10,8)) as "uniBTC_amount",'burn' as "type",'Ethereum' as "chain"from erc20_ethereum.evt_transferwhere contract_address = 0x004e9c3ef86bc1ca1f0bb5c7662861ee93350568and "to" in (0x0000000000000000000000000000000000000000)),mints_mantle AS (SELECTevt_tx_hash,evt_block_time,"to" AS "user",value / POW(10,8) as "uniBTC_amount",'mint' as "type",'Mantle' as "chain"from erc20_mantle.evt_transferwhere contract_address = 0x93919784c523f39cacaa98ee0a9d96c3f32b593eand "from" = 0x0000000000000000000000000000000000000000),burns_mantle AS (SELECTevt_tx_hash,evt_block_time,"from" AS "user",-1 * (value / POW(10,8)) as "uniBTC_amount",'burn' as "type",'Mantle' as "chain"from erc20_mantle.evt_transferwhere contract_address = 0x93919784c523f39cacaa98ee0a9d96c3f32b593eand "to" = 0x0000000000000000000000000000000000000000),mints_bnb AS (SELECTevt_tx_hash,evt_block_time,"to" AS "user",value / POW(10,8) as "uniBTC_amount",'mint' as "type",'BSC' as "chain"from erc20_bnb.evt_transferwhere contract_address = 0x6b2a01a5f79deb4c2f3c0eda7b01df456fbd726aand "from" = 0x0000000000000000000000000000000000000000),