Skip to Content

Order

class

Order

Constructor

constructor
Order(props: OrderProps, initSymbol: any): Order

Parameters:

props: OrderProps
initSymbol: any

Returns:

Order

Properties

_version
number
date
Date
displaySvc?
string
errorDetails?
Record
fromAmount?
fromAsset?
string
fromTxId?
string
fromWalletAccount?
string
message?
string
orderId
string
potentialToTxIds?
string[]
region?
string
slippage?
number
status
string
svc
string
svcOptions?
Record
synced?
boolean
toAmount?
toAsset?
string
toTxId?
string
toWalletAccount?
string
txIds?
any[]
_isInstance
any
isInstance
any

Methods

inspect
inspect(): string

Returns:

string
toJSON
toJSONLegacy
toJSONLegacy(): Partial

Returns:

Partial
toRedactedJSON
toRedactedJSON(): any

Returns:

any
toString
toString(): string
Returns a string representation of an object.

Returns:

string
update
update(fields: Order | Partial): Order

Parameters:

fields: Order | Partial

Returns:

Order
[hasInstance]
[hasInstance](x: any): any

Parameters:

x: any

Returns:

any
fromJSON
fromJSON(json: string | DenormalizedOrder | SerializedOrder): Order

Parameters:

Returns:

Order

Accessors

displayStatus
error
exchangeApp
exodusStatus
finalized
floatingRate
hasOptimisticStatus
[ModelIdSymbol]

Start building

XO

Request Demo

Schedule a call with our team

Select a product
Arrow right

Start building
Grateful

Contact Us

We're here to help