getToken

This endpoint fetches the details of a specific token by tokenId.

public getToken(contractAddress: string, tokenId: number, chain: VyChain) : VyPromise<VyTokenDto>

Parameters

contractAddress

string

The contract address.

tokenId

number

The `id` of the token whose details you want to fetch.

chain

The blockchain of the contract.

Returns

VyPromise<VyTokenDto>

Last updated