listExchanges

Query the list of all the exchange pairs.

Usage

visionWeb.vs.listExchanges();

Parameters

No need to pass parameters.

Returns

Array

Example

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