getMarketOrderByAccount

根据账户查询市场交易信息。

用法

visionWeb.vs.getMarketOrderByAccount(account);

入参

参数描述类型默认值
account账户string登录账户

返回值

array,查询到的该账户下的市场交易列表。

示例

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,
  },
]