code: async function preclaim (name, options = {}) {
    const opt = R.merge(this.Ae.defaults, options)
    const _salt = salt()
    const height = await this.height()
    const hash = await commitmentHash(name, _salt)
  
    const preclaimTx = await this.namePreclaimTx(R.merge(opt, {
      accountId: await this.address(),
      commitmentId: hash
    }))
  
    const result = await this.send(preclaimTx, opt)
  
    return Object.freeze({
      ...result,
      height,
      claim: options => this.aensClaim(name, _salt, (height + 1), options),
      salt: _salt,
      commitmentId: hash
    })
  }
docs: Preclaim a name. Sends a hash of the name and a random salt to the node
  @instance
  @function
  @alias module:@aeternity/aepp-sdk/es/ae/aens
  @param {string} name
  @param {Record} [options={}]
  @return {Promise<Object>}