Function aensUpdate

  • Update a name

    Parameters

    Returns ReturnType<typeof sendTransaction>

    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 })

Generated using TypeDoc