original_docstring: Broadcasts a transaction to the blockchain.
  
          :param tx_hex: A signed transaction in hex form.
          :type tx_hex: ``str``
          :raises ConnectionError: If all API services fail.
          
docstring: Broadcasts a transaction to the blockchain.
docstring_tokens: Broadcasts a transaction to the blockchain .
code: def broadcast_tx(cls, tx_hex):  # pragma: no cover
          """Broadcasts a transaction to the blockchain.
  
          :param tx_hex: A signed transaction in hex form.
          :type tx_hex: ``str``
          :raises ConnectionError: If all API services fail.
          """
          success = None
  
          for api_call in cls.BROADCAST_TX_MAIN:
              try:
                  success = api_call(tx_hex)
                  if not success:
                      continue
                  return
              except cls.IGNORED_ERRORS:
                  pass
  
          if success is False:
              raise ConnectionError('Transaction broadcast failed, or '
                                    'Unspents were already used.')
  
          raise ConnectionError('All APIs are unreachable.')
code_tokens: def broadcast_tx ( cls , tx_hex ) : success = None for api_call in cls . BROADCAST_TX_MAIN : try : success = api_call ( tx_hex ) if not success : continue return except cls . IGNORED_ERRORS : pass if success is False : raise ConnectionError ( 'Transaction broadcast failed, or ' 'Unspents were already used.' ) raise ConnectionError ( 'All APIs are unreachable.' )
short_docstring: Broadcasts a transaction to the blockchain.
short_docstring_tokens: Broadcasts a transaction to the blockchain .
comment: # pragma: no cover$SEP$"""Broadcasts a transaction to the blockchain.
  
          :param tx_hex: A signed transaction in hex form.
          :type tx_hex: ``str``
          :raises ConnectionError: If all API services fail.
          """