ThirdwebSDK.getContract() method
Get an instance of a Custom ThirdwebContract
Example
const contract = await sdk.getContract("{{contract_address}}");
Signature:
getContract(address: string): Promise<SmartContract>;
Parameters
Parameter | Type | Description |
---|---|---|
address | string | the address of the deployed contract |
Returns:
Promise<SmartContract>
the contract