code: def _clean_tx(response_dict):
      ''' Pythonize a blockcypher API response '''
      confirmed_txrefs = []
      for confirmed_txref in response_dict.get('txrefs', []):
          confirmed_txref['confirmed'] = parser.parse(confirmed_txref['confirmed'])
          confirmed_txrefs.append(confirmed_txref)
      response_dict['txrefs'] = confirmed_txrefs
  
      unconfirmed_txrefs = []
      for unconfirmed_txref in response_dict.get('unconfirmed_txrefs', []):
          unconfirmed_txref['received'] = parser.parse(unconfirmed_txref['received'])
          unconfirmed_txrefs.append(unconfirmed_txref)
      response_dict['unconfirmed_txrefs'] = unconfirmed_txrefs
  
      return response_dicf _clean_tx(response_dict):
      ''' Pythonize a blockcypher API response '''
      confirmed_txrefs = []
      for confirmed_txref in response_dict.get('txrefs', []):
          confirmed_txref['confirmed'] = parser.parse(confirmed_txref['confirmed'])
          confirmed_txrefs.append(confirmed_txref)
      response_dict['txrefs'] = confirmed_txrefs
  
      unconfirmed_txrefs = []
      for unconfirmed_txref in response_dict.get('unconfirmed_txrefs', []):
          unconfirmed_txref['received'] = parser.parse(unconfirmed_txref['received'])
          unconfirmed_txrefs.append(unconfirmed_txref)
      response_dict['unconfirmed_txrefs'] = unconfirmed_txrefs
  
      return response_dict
docs: Pythonize a blockcypher API response