getLogo
getLogo
is a method on the ANT
class that returns the TX ID of the logo set for the ANT.
getLogo
does not require authentication.
Parameters
getLogo
does not accept 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