getLogo

getLogo is a method on the ANT class that retrieves the transaction ID (TX ID) of the ANT's logo.

getLogo does not require authentication.

Parameters

The getLogo method does not accept any parameters.

Examples

getLogo

const { ANT } = require('@ar.io/sdk');

async function main() {
  const ant = ANT.init({ processId: "i3aVUQr7E70WVx9sneX65BsPIYe5_8dxoOXl_QKCjmM" });
  const logoTxId = await ant.getLogo();

  console.log(logoTxId);
}

main();

Output

Sie_26dvgyok0PZD_-iQAFOhOd5YxDTkczOLoqTTL_A