Class TokenOut
public class TokenOut
- Inheritance
-
TokenOut
- Inherited Members
Properties
AdditionalProperties
[JsonExtensionData]
public IDictionary<string, object> AdditionalProperties { get; set; }
Property Value
Address
The output token address to swap (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 output token to receive in wei.
[JsonProperty("amount", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
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; }
Property Value
MinAmount
The minimum amount of the output token to receive in wei.
[JsonProperty("minAmount", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
public string MinAmount { get; set; }