Class Token
public class Token
- Inheritance
-
Token
- Inherited Members
Properties
AdditionalProperties
[JsonExtensionData]
public IDictionary<string, object> AdditionalProperties { get; set; }
Property Value
Address
The token address to purchase (use 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE for native token)
[JsonProperty("address", Required = Required.Always)]
[Required(AllowEmptyStrings = true)]
public string Address { get; set; }
Property Value
Amount
The amount of the token to purchase in wei.
[JsonProperty("amount", Required = Required.Always)]
[Required(AllowEmptyStrings = true)]
public string Amount { get; set; }
Property Value
ChainId
The blockchain network where the token is located
[JsonProperty("chainId", Required = Required.Always)]
[Range(1, 2147483647)]
public int ChainId { get; set; }