code: def broadcast_transaction(hex_tx, blockchain_client):
      
      if not isinstance(blockchain_client, BlockcypherClient):
          raise Exception('A BlockcypherClient object is required')
  
      url = '%s/txs/push' % (BLOCKCYPHER_BASE_URL)
      payload = json.dumps({'tx': hex_tx})
      r = requests.post(url, data=payload)
  
      try:
          data = r.json()
      except ValueError:
          raise Exception('Received non-JSON from blockcypher.com.')
  
      if 'tx' in data:
          reply = {}
          reply['tx_hash'] = data['tx']['hash']
          reply['success'] = True
          return reply
      else:
          err_str = 'Tx hash missing from blockcypher response: ' + str(data)
          raise Exception(err_str)
docs: Dispatch a raw hex transaction to the network.