Table of Contents

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

string

HttpClient

Gets the HTTP client used by the Thirdweb client.

public IThirdwebHttpClient HttpClient { get; }

Property Value

IThirdwebHttpClient

Methods

Create(string, string, string, ITimeoutOptions, IThirdwebHttpClient, string, string, 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, string sdkName = null, string sdkOs = null, string sdkPlatform = null, string sdkVersion = null)

Parameters

clientId string

The client ID (optional).

secretKey string

The secret key (optional).

bundleId string

The bundle ID (optional).

fetchTimeoutOptions ITimeoutOptions

The fetch timeout options (optional).

httpClient IThirdwebHttpClient

The HTTP client (optional).

sdkName string

The SDK name (optional).

sdkOs string

The SDK OS (optional).

sdkPlatform string

The SDK platform (optional).

sdkVersion string

The SDK version (optional).

Returns

ThirdwebClient

A new instance of ThirdwebClient.