Home > @3rdweb/sdk > Module
The root Module class. All other Modules extend this.
Signature:
export declare class Module<TContract extends BaseContract = BaseContract>
This should never be instantiated directly.
The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the Module
class.
Property | Modifiers | Type | Description |
---|---|---|---|
address | string | ||
sdk | ThirdwebSDK |
Method | Modifiers | Description |
---|---|---|
exists() | ||
getMetadata(resolveUrls) | Get the metadata of the contract. | |
parseEventLogs(eventName, logs) | ||
parseLogs(eventName, logs, contract) | ||
setMetadata(metadata) | Set new metadata on the contract and return it if successful. |