Table of Contents

Class Order

Namespace
LoopNet.Models.Requests
Assembly
LoopNet.dll

The order

public class Order
Inheritance
Order
Inherited Members

Properties

AccountId

The account id

[JsonProperty("accountId")]
public int AccountId { get; set; }

Property Value

int

Affiliate

The affiliate

[JsonProperty("affiliate")]
public string? Affiliate { get; set; }

Property Value

string

AllOrNone

All or none, current only supports true

[JsonProperty("allOrNone")]
public bool AllOrNone { get; set; }

Property Value

bool

BuyToken

The buy token

[JsonProperty("buyToken")]
public Token? BuyToken { get; set; }

Property Value

Token

ClientOrderId

Client order id, arbitrary set by client. OPTIONAL

[JsonProperty("clientOrderId")]
public string? ClientOrderId { get; set; }

Property Value

string

EddsaSignature

Eddsa signature

[JsonProperty("eddsaSignature")]
public string? EddsaSignature { get; set; }

Property Value

string

Exchange

The exchange address

[JsonProperty("exchange")]
public string? Exchange { get; set; }

Property Value

string

FillAmountBOrS

To fill amount by buy or sell

[JsonProperty("fillAmountBOrS")]
public bool FillAmountBOrS { get; set; }

Property Value

bool

MaxFeeBips

Maximum order fee that the user can accept, between 1 - 63

[JsonProperty("maxFeeBips")]
public int MaxFeeBips { get; set; }

Property Value

int

OrderType

Order type - AMM, LIMIT_ORDER, MAKER_ONLY, TAKER_ONLY. OPTIONAL

[JsonProperty("orderType")]
public string? OrderType { get; set; }

Property Value

string

PoolAddress

The AMM pool address if order type is AMM

[JsonProperty("poolAddress")]
public string? PoolAddress { get; set; }

Property Value

string

SellToken

The sell token

[JsonProperty("sellToken")]
public Token? SellToken { get; set; }

Property Value

Token

StorageId

The storage id

[JsonProperty("storageId")]
public int StorageId { get; set; }

Property Value

int

Taker

Used by the P2P order which user specify the taker

[JsonProperty("taker")]
public string? Taker { get; set; }

Property Value

string

TradeChannel

Channel to trade on. ORDER_BOOK,AMM_POOL, MIXED. OPTIONAL

[JsonProperty("tradeChannel")]
public string? TradeChannel { get; set; }

Property Value

string

ValidUntil

Unix timestamp in seconds for the expiry

[JsonProperty("validUntil")]
public long ValidUntil { get; set; }

Property Value

long