getExchangeByID

Query Exchange by id.

Usage

visionWeb.vs.getExchangeByID(id);

Parameters

ParameterDescriptionTypeDefault
idExchange id.number | string-

Returns

Object

Example

visionWeb.vs.getExchangeByID(1);
> {
  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
}