setContractApiUrl
Method to update the contractApiUrl of the SDK. This is useful if you want to switch between different contract API endpoints.
Signature
setContractApiUrl(url: string): voidParameters
url
The new URL for the contract API.
Type:
stringRequired:
true
Returns
void
Example
import { ThothIdSDK } from "thoth-id-sdk";
const sdk = new ThothIdSDK();
sdk.setContractApiUrl("https://my-custom-api.com/contract-ids");Last updated

