getContractDomain
Parameters
Returns
Example
import { ThothIdSDK } from "thoth-id-sdk";
async function getContractDomain() {
try {
const sdk = new ThothIdSDK();
await sdk.loadContractIds();
const domain = await sdk.getContractDomain("htr");
console.log("Contract domain for .htr:", domain);
} catch (error) {
console.error("Error getting contract domain:", error);
}
}
getContractDomain();Last updated

