Query editor
WITH outbound_transfers AS (SELECT COUNT(*) AS txCount FROM wormhole_fantom.TokenBridge_call_transferTokensUNION ALLSELECT COUNT(*) FROM wormhole_fantom.TokenBridge_call_transferTokensWithPayloadUNION ALLSELECT COUNT(*) FROM wormhole_fantom.TokenBridge_call_wrapAndTransferETHUNION ALLSELECT COUNT(*) FROM wormhole_fantom.TokenBridge_call_wrapAndTransferETHWithPayload),inbound_transfers AS (SELECT COUNT(*) AS txCount FROM wormhole_multichain.TokenBridge_call_completeTransferWHERE chain = 'fantom')SELECT'Outbound Transactions' AS tx_type, (SELECT SUM(txCount) FROM outbound_transfers) AS total_txnUNION ALLSELECT'Inbound Transactions' AS tx_type, (SELECT SUM(txCount) FROM inbound_transfers) AS total_txn;