getTokenType

This endpoint fetches the details of a specific token-type by `tokenTypeId`.

public getTokenType(chain: VyChain, contractAddress: string, tokenTypeId: number) : VyPromise<VyTokenTypeDto>

Parameters

chain

Thge blockchain of the contract.

contractAddress

string

The contract address

tokenTypeId

number

This is the `id` of the token-type.

Returns

VyPromise<VyTokenTypeDto>

Last updated