setName

setName is a method on the ANT class that updates the display name of the ANT process.

setName requires authentication.

Examples

setName

const { id: txId } = await ant.setName({
    name: 'My ANT'
});

Parameters

ParameterTypeDescriptionOptional
namestringThe display name 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?