Function aensTransfer

  • Transfer a domain to another account

    Returns

    Transaction result

    Example

    const name = 'test.chain'
    const recipientPub = 'ak_asd23dasdas...'
    const nameObject = await sdkInstance.aensQuery(name)

    await sdkInstance.aensTransfer(name, recipientPub, { ttl, fee, nonce })
    // or
    await nameObject.transfer(recipientPub, { ttl, fee, nonce })

    Parameters

    • name: `${string}.chain`

      AENS name

    • account: `ak_${string}`

      Recipient account publick key

    • options: AensTransferOptions

      Options

    Returns ReturnType<typeof send>

Generated using TypeDoc