listExchanges

查询登录账户下的所有交易对。

用法

visionWeb.vs.listExchanges();

入参

返回值

array,查询到的交易对列表。

示例

visionWeb.vs.listExchanges();
> [
  {
    exchange_id: 2,
    creator_address: '4653cd48c2723cb985679f4e44d99c64d22d89f41d',
    create_time: 1606997799000,
    first_token_id: '31303030303031',
    first_token_balance: 1095,
    second_token_id: '5f',
    second_token_balance: 407
  },
  {
    exchange_id: 1,
    creator_address: '4653cd48c2723cb985679f4e44d99c64d22d89f41d',
    create_time: 1606914744000,
    first_token_id: '31303030303034',
    first_token_balance: 400,
    second_token_id: '31303030303031',
    second_token_balance: 356
  }
]