TypeScript SDK
WCAutoConnectOptions
type WCAutoConnectOptions = { savedConnectParams?: SavedConnectParams;};A client is the entry point to the thirdweb SDK.
It is required for all other actions.
You can create a client using the createThirdwebClient function. Refer to the Creating a Client documentation for more information.
You must provide a clientId or secretKey in order to initialize a client. Pass clientId if you want for client-side usage and secretKey for server-side usage.
import { createThirdwebClient } from "thirdweb"; const client = createThirdwebClient({ clientId: "<your_client_id>",});type savedConnectParams = SavedConnectParams;