setLogo

setLogo is a method on the ANT class that updates the logo of the ANT process. The logo must be specified as an Arweave transaction ID that contains an image.

setLogo requires authentication.

Examples

setLogo

const { id: txId } = await ant.setLogo({
    txId: 'U7RXcpaVShG4u9nIcPVmm2FJSM5Gru9gQCIiRaIPV7f'
});

Parameters

ParameterTypeDescriptionOptional
txIdstring

The Arweave transaction ID of the image to use as the ANT's logo

false
tagsarray

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

true

Was this page helpful?