getMaxProfileKeyLength
Parameters
Returns
Example
import { ThothIdSDK } from "thoth-id-sdk";
async function getMaxProfileKeyLength() {
try {
const sdk = new ThothIdSDK();
await sdk.loadContractIds();
const maxLength = await sdk.getMaxProfileKeyLength("htr");
console.log("Maximum profile key length for .htr domain:", maxLength);
} catch (error) {
console.error("Error getting max profile key length:", error);
}
}
getMaxProfileKeyLength();Last updated

