getExchangeByID

根据exchange id查询交易对信息。

用法

visionWeb.vs.getExchangeByID(id);

入参

参数描述类型默认值
idexchange idnumber | string-

返回值

object,查询到的账户资源信息。

示例

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
}