original_docstring: 
      Finds the last transaction a account submitted and fetches the creation time
      memo can be specified to search for a specific memo
      If timeBounds.minTime is not set use created_at
      Returns datetime or None if account not found
      
docstring: Finds the last transaction a account submitted and fetches the creation time
  memo can be specified to search for a specific memo
  If timeBounds.minTime is not set use created_at
  Returns datetime or None if account not found
docstring_tokens: Finds the last transaction a account submitted and fetches the creation time memo can be specified to search for a specific memo If timeBounds . minTime is not set use created_at Returns datetime or None if account not found
code: def fetch_last_tx(pubKey: str = PUBLIC_KEY, memo = "Lumenaut reward!"):
      """
      Finds the last transaction a account submitted and fetches the creation time
      memo can be specified to search for a specific memo
      If timeBounds.minTime is not set use created_at
      Returns datetime or None if account not found
      """
      try:
          txs = server.transactions().for_account(pubKey).include_failed(False).limit(200).order("desc").call()['_embedded']['records']
  
          for records in txs:
              if records['source_account'] != pubKey:
                  continue
          
              if memo != None and (records['memo_type'] != 'text' or records['memo'] != memo):
                  continue 
  
              created = records['created_at']
              timeBound = records['valid_after']
              if timeBound == "1970-01-01T00:00:00Z": # not set
                  return datetime.strptime(created, "%Y-%m-%dT%H:%M:%SZ")            
              return datetime.strptime(timeBound, "%Y-%m-%dT%H:%M:%SZ")
          return None
      except:
          return None
code_tokens: def fetch_last_tx ( pubKey : str = PUBLIC_KEY , memo = "Lumenaut reward!" ) : try : txs = server . transactions ( ) . for_account ( pubKey ) . include_failed ( False ) . limit ( 200 ) . order ( "desc" ) . call ( ) [ '_embedded' ] [ 'records' ] for records in txs : if records [ 'source_account' ] != pubKey : continue if memo != None and ( records [ 'memo_type' ] != 'text' or records [ 'memo' ] != memo ) : continue created = records [ 'created_at' ] timeBound = records [ 'valid_after' ] if timeBound == "1970-01-01T00:00:00Z" : return datetime . strptime ( created , "%Y-%m-%dT%H:%M:%SZ" ) return datetime . strptime ( timeBound , "%Y-%m-%dT%H:%M:%SZ" ) return None except : return None
short_docstring: Finds the last transaction a account submitted and fetches the creation time
  memo can be specified to search for a specific memo
  If timeBounds.minTime is not set use created_at
  Returns datetime or None if account not found
short_docstring_tokens: Finds the last transaction a account submitted and fetches the creation time memo can be specified to search for a specific memo If timeBounds . minTime is not set use created_at Returns datetime or None if account not found
comment: """
      Finds the last transaction a account submitted and fetches the creation time
      memo can be specified to search for a specific memo
      If timeBounds.minTime is not set use created_at
      Returns datetime or None if account not found
      """$SEP$# not set