es/ae/aens.js
async function transfer (nameId, account, options = {}) {
  const opt = R.merge(this.Ae.defaults, options)

  const nameTransferTx = await this.nameTransferTx(R.merge(opt, {
    nameId,
    accountId: await this.address(),
    recipientId: account
  }))

  return this.send(nameTransferTx, opt)
}
async function transfer (nameId, account, options = {}) {
  const opt = R.merge(this.Ae.defaults, options)

  const nameTransferTx = await this.nameTransferTx(R.merge(opt, {
    nameId,
    accountId: await this.address(),
    recipientId: account
  }))

  return this.send(nameTransferTx, opt)
}
async function transfer ( nameId , account , options = { } ) { const opt = R . merge ( this . Ae . defaults , options ) const nameTransferTx = await this . nameTransferTx ( R . merge ( opt , { nameId , accountId : await this . address ( ) , recipientId : account } ) ) return this . send ( nameTransferTx , opt ) }
Transfer a domain to another account
@instance
@function
@alias module:@aeternity/aepp-sdk/es/ae/aens
@category async
@param {String} nameId
@param {String} account
@param {Object} [options={}]
@return {Promise<Object>}
Transfer a domain to another account