Function aensUpdate

  • Update a name

    Throws

    Invalid pointer array error

    Example

    const name = 'test.chain'
    const pointersArray = ['ak_asd23dasdas...,' 'ct_asdf34fasdasd...']
    const nameObject = await sdkInstance.aensQuery(name)

    await sdkInstance.aensUpdate(name, pointersArray, { nameTtl, ttl, fee, nonce, clientTtl })
    // or
    await nameObject.update(pointers, { nameTtl, ttl, fee, nonce, clientTtl })

    Parameters

    Returns ReturnType<typeof send>

Generated using TypeDoc