Query editor
WITH btc_lrts AS (SELECTsymbol,decimals,blockchain,protocol,contract_addressFROM query_4003601)SELECT*,'bob' AS blockchainFROM TABLE(DECODE_EVM_EVENT(abi => '{"anonymous": false,"inputs": [{"indexed": true,"internalType": "address","name": "from","type": "address"},{"indexed": true,"internalType": "address","name": "to","type": "address"},{"indexed": false,"internalType": "uint256","name": "value","type": "uint256"}],"name": "Transfer","type": "event"}',input => TABLE(SELECTblock_date,block_time,block_number,block_hash,contract_address,topic0,topic1,topic2,topic3,data,tx_hash,index,tx_index,tx_from,tx_toFROM bob.logsWHERE topic0 = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efAND contract_address IN (SELECT contract_address FROM btc_lrts WHERE blockchain = 'bob')