# Functions
No description provided by the author
NewThirdwebSDK
# Create a new instance of the Thirdweb SDK
rpcUrlOrName: the name of the chain to connection to (e.g.
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
The contract deployer lets you deploy new contracts to the blockchain using just the thirdweb SDK.
This interface is currently supported by all contract encoder classes and provides a generic method to encode write function calls.
No description provided by the author
This interface provides a way to query past events or listen for future events on any contract.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
You can access the Edition interface from the SDK as follows:
import ( "github.com/thirdweb-dev/go-sdk/v2/thirdweb" )
privateKey := "..." secretKey := "..."
sdk, err := thirdweb.NewThirdwebSDK("mumbai", &thirdweb.SDKOptions{ PrivateKey: privateKey, SecretKey: secretKey })
contract, err := sdk.GetEdition("{{contract_address}}").
You can access the Edition Drop interface from the SDK as follows:
import ( "github.com/thirdweb-dev/go-sdk/v2/thirdweb" )
privateKey := "..." secretKey := "..."
sdk, err := thirdweb.NewThirdwebSDK("mumbai", &thirdweb.SDKOptions{ PrivateKey: privateKey, SecretKey: secretKey })
contract, err := sdk.GetEditionDrop("{{contract_address}}").
This interface is currently accessible from the Edition Drop contract contract type via the ClaimConditions property.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
This interface is currently support by the Edition and Edition Drop contracts.
You can access this interface from the edition contract under the signature interface.
This interface is currently support by the Edition and Edition Drop contracts.
This interface is currently support by the Token contract.
This interface is currently support by the Token contract.
This interface is currently support by the NFT Collection and NFT Drop contracts.
You can access this interface from the NFT Collection contract under the signature interface.
This interface is currently support by the NFT Collection and NFT Drop contracts.
No description provided by the author
No description provided by the author
No description provided by the author
You can access the Marketplace interface from the SDK as follows:
import ( "github.com/thirdweb-dev/go-sdk/v2/thirdweb" )
privateKey := "..." secretKey := "..."
sdk, err := thirdweb.NewThirdwebSDK("mumbai", &thirdweb.SDKOptions{ PrivateKey: privateKey, SecretKey: secretKey })
contract, err := sdk.GetMarketplace("{{contract_address}}").
The marketplace encoder class is used to get the unsigned transaction data for marketplace contract contract calls that can be signed at a later time after generation.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
You can access the Multiwrap interface from the SDK as follows:
import ( "github.com/thirdweb-dev/go-sdk/v2/thirdweb" )
privateKey := "..." secretKey := "..."
sdk, err := thirdweb.NewThirdwebSDK("mumbai", &thirdweb.SDKOptions{ PrivateKey: privateKey, SecretKey: secretKey })
contract, err := sdk.GetMultiwrap("{{contract_address}}").
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
You can access the NFT Collection interface from the SDK as follows:
import ( "github.com/thirdweb-dev/go-sdk/v2/thirdweb" )
privateKey := "..." secretKey := "..."
sdk, err := thirdweb.NewThirdwebSDK("mumbai", &thirdweb.SDKOptions{ PrivateKey: privateKey, SecretKey: secretKey })
contract, err := sdk.GetNFTCollection("{{contract_address}}").
You can access the NFT Drop interface from the SDK as follows:
import ( "github.com/thirdweb-dev/go-sdk/v2/thirdweb" )
privateKey := "..." secretKey := "..."
sdk, err := thirdweb.NewThirdwebSDK("mumbai", &thirdweb.SDKOptions{ PrivateKey: privateKey, SecretKey: secretKey })
contract, err := sdk.GetNFTDrop("{{contract_address}}").
This interface is currently accessible from the NFT Drop contract contract type via the ClaimConditions property.
The nft drop encoder class is used to get the unsigned transaction data for nft drop contract contract calls that can be signed at a later time after generation.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Custom Contracts
With the thirdweb SDK, you can get a contract instance for any contract.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
You can access the Token interface from the SDK as follows:
import ( "github.com/thirdweb-dev/go-sdk/v2/thirdweb" )
privateKey := "..." secretKey := "..."
sdk, err := thirdweb.NewThirdwebSDK("mumbai", &thirdweb.SDKOptions{ PrivateKey: privateKey, SecretKey: secretKey })
contract, err := sdk.GetToken("{{contract_address}}").
No description provided by the author
No description provided by the author
No description provided by the author
> This API is provided as a preview for developers and may change based on feedback that we receive.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author