async def broadcast(self, tx):
        """
        Broadcast a transaction to the network.

        arg:str:tx:Serialized transaction (must be hexadecimal)
        """
        tx = Transaction(tx)
        await self.network.broadcast_transaction(tx)
        return tx.txid()

        Broadcast a transaction to the network.

        arg:str:tx:Serialized transaction (must be hexadecimal)
        
electrum/commands.py