Class OriginToken2
public class OriginToken2
- Inheritance
-
OriginToken2
- Inherited Members
Properties
AdditionalProperties
[JsonExtensionData]
public IDictionary<string, object> AdditionalProperties { get; set; }
Property Value
Address
Token contract address
[JsonProperty("address", Required = Required.Always)]
[Required(AllowEmptyStrings = true)]
public string Address { get; set; }
Property Value
ChainId
Chain identifier for the token
[JsonProperty("chainId", Required = Required.Always)]
[Range(1, 2147483647)]
public int ChainId { get; set; }
Property Value
Decimals
Number of decimals the token uses
[JsonProperty("decimals", Required = Required.Always)]
[Range(0, 2147483647)]
public int Decimals { get; set; }
Property Value
IconUri
Optional icon URL for the token
[JsonProperty("iconUri", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
public Uri IconUri { get; set; }
Property Value
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
Name
Token name
[JsonProperty("name", Required = Required.Always)]
[Required(AllowEmptyStrings = true)]
public string Name { get; set; }
Property Value
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
Symbol
Token symbol
[JsonProperty("symbol", Required = Required.Always)]
[Required(AllowEmptyStrings = true)]
public string Symbol { get; set; }
Property Value
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; }