This endpoint fetches the metadata of a token by tokenId.
tokenId
public getErc1155TokenMetadata(chain: VyChain, contractAddress: string, tokenId: number) : VyPromise<VyMetadataDto>
Parameters
chain
VyChain
The blockchain of the contract.
contractAddress
string
The contract address.
number
The `id` of the token whose metadata you want to fetch.
Returns
VyPromise<VyMetadataDto>
Last updated 3 months ago