Class Order
The order
public class Order
- Inheritance
-
Order
- Inherited Members
Properties
AccountId
The account id
[JsonProperty("accountId")]
public int AccountId { get; set; }
Property Value
Affiliate
The affiliate
[JsonProperty("affiliate")]
public string? Affiliate { get; set; }
Property Value
AllOrNone
All or none, current only supports true
[JsonProperty("allOrNone")]
public bool AllOrNone { get; set; }
Property Value
BuyToken
The buy token
[JsonProperty("buyToken")]
public Token? BuyToken { get; set; }
Property Value
ClientOrderId
Client order id, arbitrary set by client. OPTIONAL
[JsonProperty("clientOrderId")]
public string? ClientOrderId { get; set; }
Property Value
EddsaSignature
Eddsa signature
[JsonProperty("eddsaSignature")]
public string? EddsaSignature { get; set; }
Property Value
Exchange
The exchange address
[JsonProperty("exchange")]
public string? Exchange { get; set; }
Property Value
FillAmountBOrS
To fill amount by buy or sell
[JsonProperty("fillAmountBOrS")]
public bool FillAmountBOrS { get; set; }
Property Value
MaxFeeBips
Maximum order fee that the user can accept, between 1 - 63
[JsonProperty("maxFeeBips")]
public int MaxFeeBips { get; set; }
Property Value
OrderType
Order type - AMM, LIMIT_ORDER, MAKER_ONLY, TAKER_ONLY. OPTIONAL
[JsonProperty("orderType")]
public string? OrderType { get; set; }
Property Value
PoolAddress
The AMM pool address if order type is AMM
[JsonProperty("poolAddress")]
public string? PoolAddress { get; set; }
Property Value
SellToken
The sell token
[JsonProperty("sellToken")]
public Token? SellToken { get; set; }
Property Value
StorageId
The storage id
[JsonProperty("storageId")]
public int StorageId { get; set; }
Property Value
Taker
Used by the P2P order which user specify the taker
[JsonProperty("taker")]
public string? Taker { get; set; }
Property Value
TradeChannel
Channel to trade on. ORDER_BOOK,AMM_POOL, MIXED. OPTIONAL
[JsonProperty("tradeChannel")]
public string? TradeChannel { get; set; }
Property Value
ValidUntil
Unix timestamp in seconds for the expiry
[JsonProperty("validUntil")]
public long ValidUntil { get; set; }