callMultiple
Parameters
Returns
Example
import { ThothIdSDK } from "thoth-id-sdk";
async function callMultiple() {
try {
const sdk = new ThothIdSDK();
await sdk.loadContractIds();
const results = await sdk.callMultiple([
{ method: 'get_contract_domain' },
{ method: 'get_fee_structure' },
], "htr");
console.log("Results from multiple calls:", results);
} catch (error) {
console.error("Error making multiple calls:", error);
}
}
callMultiple();Last updated

