code: func (h *Handler) ImportAccountFromHex(
  	tkn string, params *AccountParamsWithHexKey) (*string, error) {
  	logger := h.logger.Add("method", "ImportAccountFromHex")
  
  	if !h.token.Check(tkn) {
  		logger.Warn("access denied")
  		return nil, ErrAccessDenied
  	}
  
  	makeECDSAFunc := h.hexPrivateKeyToECDSA(params.PrivateKeyHex)
  
  	account := params.prefilledAccount()
  
  	id, err := h.fillAndSaveAccount(logger, account, makeECDSAFunc, true)
  	if err != nil {
  		return nil, err
  	}
  
  	return &id, nil
  }
docs: // ImportAccountFromHex imports private key from hex, creates account
  // and initiates JobAccountUpdateBalances job.