Query editor
WITH lzr_ep AS(--110 ArbitrumSELECTep.contract_address, -- contract addressep.call_tx_hash, -- call txn hash110 AS _srcchainid, -- source chain 110 is Arbitrumep._dstchainid, -- destination chaint."from" AS user_address -- txn from addressFROMlayerzero_arbitrum.endpoint_call_send ep -- FROM l0 endpointINNER JOINarbitrum.transactions t -- JOIN arbitrum txnsON ep.call_tx_hash = t.hash -- ON txn hashAND ep.call_success -- but only successful txnsUNION ALL -- UNION--101 Ethereum ---------------------------------SELECTep.contract_address,ep.call_tx_hash,110 AS _srcchainid,ep._dstchainid,t."from" AS user_addressFROMlayerzero_ethereum.endpoint_call_send epINNER JOINethereum.transactions tON ep.call_tx_hash = t.hashAND ep.call_successUNION ALL ----------------------------------------102 BNB --------------------------------------SELECTep.contract_address,ep.call_tx_hash,102 AS _srcchainid,ep._dstchainid,t."from" AS user_addressFROMlayerzero_bnb.endpoint_call_send epINNER JOINbnb.transactions tON ep.call_tx_hash = t.hashAND ep.call_successUNION ALL ----------------------------------------101 Ethereum ---------------------------------SELECTep.contract_address,ep.call_tx_hash,110 AS _srcchainid,ep._dstchainid,t."from" AS user_addressFROMlayerzero_ethereum.endpoint_call_send epINNER JOINethereum.transactions tON ep.call_tx_hash = t.hashAND ep.call_success