Get market order info by order id.
Usage
visionWeb.vs.getMarketOrderByID(orderId);
Parameters
Parameter | Description | Type | Default |
---|---|---|---|
orderId | Order id | string | - |
Returns
Object.
Example
visionWeb.vs.getMarketOrderByID('f2041ee178427f6b89b673c292cdefa6eb29a6b506003a2a1fa68ebe6075aa69');
> {
order_id: 'f2041ee178427f6b89b673c292cdefa6eb29a6b506003a2a1fa68ebe6075aa69',
owner_address: '46b03b026cdeb86dc1c50d13f55a8ff5650eb252ad',
create_time: 1609677027000,
sell_token_id: '31303030303033',
sell_token_quantity: 100,
buy_token_id: '31303030303034',
buy_token_quantity: 100,
sell_token_quantity_remain: 100
}