Table of Contents

Class DestinationToken2

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

Properties

AdditionalProperties

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

Property Value

IDictionary<string, object>

Address

Token contract address

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

Property Value

string

ChainId

Chain identifier for the token

[JsonProperty("chainId", Required = Required.Always)]
[Range(1, 2147483647)]
public int ChainId { get; set; }

Property Value

int

Decimals

Number of decimals the token uses

[JsonProperty("decimals", Required = Required.Always)]
[Range(0, 2147483647)]
public int Decimals { get; set; }

Property Value

int

IconUri

Optional icon URL for the token

[JsonProperty("iconUri", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
public Uri IconUri { get; set; }

Property Value

Uri

MarketCapUsd

24h market capitalization in USD when available

[JsonProperty("marketCapUsd", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
[Range(0, 1.7976931348623157E+308)]
public double MarketCapUsd { get; set; }

Property Value

double

Name

Token name

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

Property Value

string

Prices

Token price quotes keyed by fiat currency code

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

Property Value

IDictionary<string, double>

Symbol

Token symbol

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

Property Value

string

Volume24hUsd

24h trading volume in USD when available

[JsonProperty("volume24hUsd", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
[Range(0, 1.7976931348623157E+308)]
public double Volume24hUsd { get; set; }

Property Value

double