setDescription

setDescription is a method on the ANT class that updates the descriptive text for the ANT process.

setDescription requires authentication.

Examples

setDescription

const { id: txId } = await ant.setDescription({
    description: 'A friendly description of this ANT'
});

Parameters

ParameterTypeDescriptionOptional
descriptionstringThe descriptive text to set for the ANT processfalse
tagsarray

An array of GQL tag objects to attach to the transfer AO message.

true

Was this page helpful?