getProfileData
Parameters
Returns
Example
import { ThothIdSDK } from "thoth-id-sdk";
async function getProfileData() {
try {
const sdk = new ThothIdSDK();
await sdk.loadContractIds();
const profileData = await sdk.getProfileData("example.htr");
console.log("Profile data for example.htr:", profileData);
} catch (error) {
console.error("Error getting profile data:", error);
}
}
getProfileData();Last updated

