resolveName
Parameters
Returns
Example
import { ThothIdSDK } from "thoth-id-sdk";
async function resolveName() {
try {
const sdk = new ThothIdSDK();
await sdk.loadContractIds();
const ownerAddress = await sdk.resolveName("example.htr");
console.log(`The address for example.htr is:`, ownerAddress);
} catch (error) {
console.error("Error resolving name:", error);
}
}
resolveName();Last updated

