Table of Contents

Class Contracts

Namespace
Thirdweb.Api
Assembly
Thirdweb.dll

Contract details enriched with additional project information from the API server.

public class Contracts
Inheritance
Contracts
Inherited Members

Properties

AdditionalProperties

[JsonExtensionData]
public IDictionary<string, object> AdditionalProperties { get; set; }

Property Value

IDictionary<string, object>

Address

The contract address.

[JsonProperty("address", Required = Required.Always)]
[Required(AllowEmptyStrings = true)]
public string Address { get; set; }

Property Value

string

ChainId

The chain ID where the contract is deployed.

[JsonProperty("chainId", Required = Required.Always)]
[Required(AllowEmptyStrings = true)]
public string ChainId { get; set; }

Property Value

string

DeployedAt

The date when the contract was deployed.

[JsonProperty("deployedAt", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
public string DeployedAt { get; set; }

Property Value

string

Id

The contract ID.

[JsonProperty("id", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
public string Id { get; set; }

Property Value

string

ImportedAt

The date when the contract was imported to the dashboard.

[JsonProperty("importedAt", Required = Required.Always)]
[Required(AllowEmptyStrings = true)]
public string ImportedAt { get; set; }

Property Value

string

Name

The contract name, if available.

[JsonProperty("name", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
public string Name { get; set; }

Property Value

string

Symbol

The contract symbol, if available.

[JsonProperty("symbol", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
public string Symbol { get; set; }

Property Value

string

Type

The contract type (e.g., ERC20, ERC721, etc.).

[JsonProperty("type", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
public string Type { get; set; }

Property Value

string