A client is the entry point to the thirdweb SDK. It is required for all other actions.
You must provide a clientId or secretKey in order to initialize a client.
clientId
secretKey
You can create an Api key for free at thirdweb.com/create-api-key.
import { createThirdwebClient } from "thirdweb";const client = createThirdwebClient({ clientId: "<your_client_id>",});
import { createThirdwebClient } from "thirdweb";const client = createThirdwebClient({ secretKey: "<your_secret_key>",});