Query editor
with ftm_value as(SELECT --ftmfan.call_tx_hash,sender,cast(value as double) / 1e6 as token_amountFROM layerzero_fantom_endpoint_fantom.Endpoint_call_send fanLEFT JOIN (SELECT contract_address as usd_add ,value, "from" as sender ,evt_tx_hashfrom erc20_fantom.evt_Transfer) fant ON fan.call_tx_hash = evt_tx_hash and _refundAddress=senderWHERE call_success = trueand (usd_add=0x04068DA6C83AFCFA0e13ba15A6696662335D5B75 --USDCor usd_add=0x2f6f07cdcf3588944bf4c42ac74ff24bf56e7590) --STGUNION ALLSELECT --avaxava.call_tx_hash,sender,cast(value as double) / 1e6 as token_amountFROM layerzero_avalanche_c.Endpoint_call_send avaLEFT JOIN (SELECT contract_address as usd_add ,value, "from" as sender ,evt_tx_hashFROM erc20_avalanche_c.evt_Transfer) avat ON ava.call_tx_hash = avat.evt_tx_hash and _refundAddress=senderWHERE call_success = trueand (usd_add=0x9702230A8Ea53601f5cD2dc00fDBc13d4dF4A8c7 --USDTor usd_add=0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E --USDCor usd_add=0xD24C2Ad096400B6FBcd2ad8B24E7acBc21A1da64 --FRAXor usd_add=0xabc9547b534519ff73921b1fba6e672b5f58d083 --WOOor usd_add=0x3b55e45fd6bd7d4724f5c47e0d1bcaedd059263e --MAIor usd_add=0x2F6F07CDcf3588944Bf4C42aC74ff24bF56e7590) --STG-- JOEUNION ALLSELECT --BNBcall_tx_hash,sender,cast(value as double) / 1e18 as token_amountFROM layerzero_bnb.Endpoint_call_send bnbLEFT JOIN (SELECT contract_address as usd_add ,value, "from" as sender ,evt_tx_hashFROM erc20_bnb.evt_Transfer) bnbt ON bnb.call_tx_hash = bnbt.evt_tx_hash and _refundAddress=senderWHERE call_success = trueAND (usd_add=0x55d398326f99059fF775485246999027B3197955 --USDTOR usd_add=0xe9e7CEA3DedcA5984780Bafc599bD69ADd087D56 --BUSDor usd_add=0xd17479997f34dd9156deef8f95a52d81d265be9c --USDDor usd_add=0x4691937a7508860f876c9c0a2a617e7d9e945d4b --WOOor usd_add=0x3f56e0c36d275367b8c502090edf38289b3dea0d --MAIor usd_add=0xb0d502e938ed5f4df2e681fe6e419ff29631d62b) --STG-- METIS JOE BTCB RDNTUNION ALL