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

