getManagerPrimaryName
Parameters
Returns
Example
import { ThothIdSDK } from "thoth-id-sdk";
async function getManagerPrimaryName() {
try {
const sdk = new ThothIdSDK();
await sdk.loadContractIds();
const primaryName = await sdk.getManagerPrimaryName("WALLET_ADDRESS", "htr");
console.log("Primary name for the address:", primaryName);
} catch (error) {
console.error("Error getting manager primary name:", error);
}
}
getManagerPrimaryName();Last updated

