docs: def broadcast_transaction(hex_tx, blockchain_client):
      """ Dispatches a raw hex transaction to the network.
      """
      if isinstance(blockchain_client, BlockcypherClient):
          return blockcypher.broadcast_transaction(hex_tx, blockchain_client)
      elif isinstance(blockchain_client, BlockchainInfoClient):
          return blockchain_info.broadcast_transaction(hex_tx, blockchain_client)
      elif isinstance(blockchain_client, ChainComClient):
          return chain_com.broadcast_transaction(hex_tx, blockchain_client)
      elif isinstance(blockchain_client, (BitcoindClient, AuthServiceProxy)):
          return bitcoind.broadcast_transaction(hex_tx, blockchain_client)
      elif hasattr(blockchain_client, "broadcast_transaction"):
          return blockchain_client.broadcast_transaction( hex_tx )
      elif isinstance(blockchain_client, BlockchainClient):
          raise Exception('That blockchain interface is not supported.')
      else:
          raise Exception('A BlockchainClient object is required')