Query VRC10 token information by the token id.
Usage
visionWeb.vs.getTokenFromID(id);
Parameters
Parameter | Description | Type | Default |
---|---|---|---|
id | Token id. | number | string | - |
Returns
Object
Example
visionWeb.vs.getTokenFromID("1000001");
> {
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'
}