getNameOwner
Parameters
Returns
Example
import { ThothIdSDK } from "thoth-id-sdk";
async function getNameOwner() {
try {
const sdk = new ThothIdSDK();
await sdk.loadContractIds();
const owner = await sdk.getNameOwner("example.htr");
console.log("The owner of example.htr is:", owner);
} catch (error) {
console.error("Error getting name owner:", error);
}
}
getNameOwner();Last updated

