calculateFee
Parameters
Returns
Example
import { ThothIdSDK } from "thoth-id-sdk";
async function calculateFee() {
try {
const sdk = new ThothIdSDK();
await sdk.loadContractIds();
const fee = await sdk.calculateFee("example.htr");
console.log("Fee for example.htr:", fee);
} catch (error) {
console.error("Error calculating fee:", error);
}
}
calculateFee();Last updated

