Home > @3rdweb/sdk > ThirdwebSDK
The entrypoint to the SDK.
Signature:
export declare class ThirdwebSDK implements IThirdwebSdk
Implements: IThirdwebSdk
Constructor | Modifiers | Description |
---|---|---|
(constructor)(providerOrNetwork, opts) | Constructs a new instance of the ThirdwebSDK class |
Property | Modifiers | Type | Description |
---|---|---|---|
event | EventEmitter2 |
Method | Modifiers | Description |
---|---|---|
createApp(metadata) | Call this to create a new app | |
createSnapshot(leafs) | ||
getAppModule(address) | ||
getApps(address) | Call this to get the current apps. | |
getBundleDropModule(address) | (BETA) | |
getBundleModule(address) | ||
getCollectionModule(address) | ||
getContractMetadata(address) | ||
getCurrencyModule(address) | ||
getDropModule(address) | ||
getGasPrice(speed, maxGasGwei) | ||
getMarketModule(address) | ||
getMarketplaceModule(address) | (BETA) | |
getNFTModule(address) | ||
getPackModule(address) | ||
getStorage() | Accessor for the storage instance used by the SDK | |
getTokenModule(address) | ||
isReadOnly() | ||
overrideStorage(storage) | Allows you to override the storage used across the SDK. | |
setProviderOrSigner(providerOrSignerOrNetwork) |