listExchangesPaginated

Query the list of the exchange pairs by pagination.

Usage

visionWeb.vs.listExchangesPaginated(limit, index);

Parameters

ParameterDescriptionTypeDefault
limitThe amount of exchanges returned.number-
indexThe index of the start exchange.number-

Returns

Array

Example

visionWeb.vs.listExchangesPaginated(1,0);
> [
  {
    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
  },
]