typescript-sdk

Home > @3rdweb/sdk > ThirdwebSDK

ThirdwebSDK class

The entrypoint to the SDK.

Signature:

export declare class ThirdwebSDK implements IThirdwebSdk 

Implements: IThirdwebSdk

Constructors

Constructor Modifiers Description
(constructor)(providerOrNetwork, opts)   Constructs a new instance of the ThirdwebSDK class

Properties

Property Modifiers Type Description
event   EventEmitter2  

Methods

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)