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

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

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

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

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