getTokenMetadata

This endpoint fetches the metadata of a token by `tokenId`.

public getTokenMetadata(chain: VyChain, contractAddress: string, tokenId: number) : VyPromise<Any>

Parameters

chain

The blockchain of the contract.

contractAddress

string

The contract address.

tokenId

number

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

Returns

VyPromise

Last updated