Query editor
SELECTevt_block_time as block_time, '{{blockchain}}' as blockchain, erc20zAddress as erc20z_address, 'buy' as side, recipient as wallet, amountEthSold / 1e18 as eth, num1155Purchased as num_1155, amountEthSold / 1e18 / num1155Purchased as unit_price, evt_tx_hash as tx_hash--, evt_tx_from as tx_fromFROM zora_{{blockchain}}.SecondarySwap_evt_SecondaryBuyUNION ALLSELECTevt_block_time as block_time, '{{blockchain}}' as blockchain, erc20zAddress as erc20z_address, 'sell' as side, recipient as wallet, amountEthPurchased / 1e18 as eth, num1155Sold as num_1155, amountEthPurchased / 1e18 / num1155Sold as unit_price, evt_tx_hash as tx_hash--, evt_tx_from as tx_fromFROM zora_{{blockchain}}.SecondarySwap_evt_SecondarySell