Table of Contents

Class tokens

Namespace
Thirdweb.Api
Assembly
Thirdweb.dll
public class tokens
Inheritance
tokens
Inherited Members

Properties

AdditionalProperties

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

Property Value

IDictionary<string, object>

Balance

The token balance as a string

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

Property Value

string

Chain_id

The chain ID of the token

[JsonProperty("chain_id", Required = Required.Always)]
public double Chain_id { get; set; }

Property Value

double

Decimals

The number of decimal places

[JsonProperty("decimals", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
public double Decimals { get; set; }

Property Value

double

Icon_uri

The token icon URI

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

Property Value

string

Name

The token name

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

Property Value

string

Price_data

Price data for the token

[JsonProperty("price_data", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
public Price_data Price_data { get; set; }

Property Value

Price_data

Prices

Price data

[JsonProperty("prices", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
public IDictionary<string, double> Prices { get; set; }

Property Value

IDictionary<string, double>

Symbol

The token symbol

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

Property Value

string

Token_address

The contract address of the token

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

Property Value

string