getTokenListByName

Query the list of VRC10 tokens by name.

Usage

visionWeb.vs.getTokenListByName(tokenName);

Parameters

ParameterDescriptionTypeDefault
tokenNameToken name.string-

Returns

Object array.

Example

visionWeb.vs.getTokenListByName("vat");
> [
  {
    owner_address: '4653cd48c2723cb985679f4e44d99c64d22d89f41d',
    name: 'vat',
    abbr: 'tt',
    total_supply: 10000000,
    vs_num: 1,
    precision: 6,
    num: 1,
    start_time: 1605974400000,
    end_time: 1763740800000,
    description: 'test',
    url: 'https://vron.bkbos.space',
    id: '1000001'
  },
  {
    owner_address: '4653cd48c2723cb985679f4e44d99c64d22d89f41d',
    name: 'vat',
    abbr: 'tt',
    total_supply: 10,
    frozen_supply: [ [Object] ],
    vs_num: 1,
    precision: 1,
    num: 1,
    start_time: 1606112818000,
    end_time: 1805959770757,
    description: 'test asset',
    url: 'www.example.com',
    free_asset_net_limit: 10,
    public_free_asset_net_limit: 10000,
    id: '1000002'
  },
]