Get market orders by account.
Usage
visionWeb.vs.getMarketOrderByAccount(account);
Parameters
Parameter | Description | Type | Default |
---|---|---|---|
account | Account address | string | Default account address |
Returns
Array
Example
visionWeb.vs.getMarketOrderByAccount('46b03b026cdeb86dc1c50d13f55a8ff5650eb252ad');
> [
{
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,
},
]