createThirdwebClient
Creates a Thirdweb client using the provided client ID (client-side) or secret key (server-side).
Get your client ID and secret key from the Thirdweb dashboard here . **Never share your secret key with anyone.
A client is necessary for most functions in the thirdweb SDK. It provides access to thirdweb APIs including built-in RPC, storage, and more.
Example
Create a client on the client side (client ID):
Create a client on the server (secret key):
Parameters
Returns
The created Thirdweb client.