Class ThirdwebClient
- Namespace
- Thirdweb
- Assembly
- Thirdweb.dll
Represents a client for interacting with the Thirdweb API.
public class ThirdwebClient
- Inheritance
-
ThirdwebClient
- Inherited Members
Properties
ClientId
Gets the client ID.
public string ClientId { get; }
Property Value
HttpClient
Gets the HTTP client used by the Thirdweb client.
public IThirdwebHttpClient HttpClient { get; }
Property Value
Methods
Create(string, string, string, ITimeoutOptions, IThirdwebHttpClient, Dictionary<string, string>)
Creates a new instance of ThirdwebClient.
public static ThirdwebClient Create(string clientId = null, string secretKey = null, string bundleId = null, ITimeoutOptions fetchTimeoutOptions = null, IThirdwebHttpClient httpClient = null, Dictionary<string, string> headers = null)
Parameters
clientId
stringThe client ID (optional).
secretKey
stringThe secret key (optional).
bundleId
stringThe bundle ID (optional).
fetchTimeoutOptions
ITimeoutOptionsThe fetch timeout options (optional).
httpClient
IThirdwebHttpClientThe HTTP client (optional).
headers
Dictionary<string, string>The headers to set on the HTTP client (optional).
Returns
- ThirdwebClient
A new instance of ThirdwebClient.