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.
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.{@link TokenIdNotFound, TokenMetadataNotFound, InvalidTokenMetadata}