getTokenMetadataUrl()

Gets the metadata url for a token if one has been configured.

Parameters

NameTypeRequiredDescription
tokenIdNumberYThe token id that is being fetched

Response

Example Usage

const tokenId = 0;

const url = await contract.getTokenMetadataUrl(tokenId);

Possible Errors

Errors in the connect() function

Feedback

Something not quite right, unclear or can't find what you are looking for? Please let us know at support.moonpay.com and we will get back to you as soon as we can.