class ThirdwebSDK
The entry point for the thirdweb SDK.
Summary
Members | Type | Descriptions |
---|---|---|
wallet | variable | Connect and Interact with a user's wallet |
deployer | variable | Deploy new contracts |
ThirdwebSDK | function | Create an instance of the thirdweb SDK. Requires a webGL browser context. |
GetContract | function | Get an instance of a deployed contract. |
Members
Connect and Interact with a user's wallet
Deploy new contracts
public inline
ThirdwebSDK
(string chainOrRPC,
Options
options)
Create an instance of the thirdweb SDK. Requires a webGL browser context.
Parameters
chainOrRPC
The chain name or RPC url to connect tooptions
Configuration options
public inline
Contract
GetContract
(string address,string abi)
Get an instance of a deployed contract.
Parameters
address
The contract addressabi
Optionally pass the ABI for contracts that cannot be auto resolved. Expected format for the ABI is escaped JSON string
Returns
A contract instance