Fetches the token metadata for a specified token ID.
The function first tries to find a token_metadata view in the contract metadata and to execute it with the token ID.
If there is no view, the function tries to find a token_metadata bigmap in the top-level pairs of the storage.
Parameters
tokenId: number
The ID of the token for which we want to retrieve token metadata
Fetches the token metadata for a specified token ID. The function first tries to find a
token_metadata
view in the contract metadata and to execute it with the token ID. If there is no view, the function tries to find atoken_metadata
bigmap in the top-level pairs of the storage.