getCredentialNFTFromLocator(Retrieves a Verifiable Credential NFT from a locator. This function performs the following steps:locator):Promise<object>
- Parses the locator string to extract NFT details.
- Verifies that the NFT belongs to a supported Verifiable Credentials chain.
- Fetches the NFT’s metadata and verifies it belongs to a Verifiable Credentials collection.
- Returns the NFT and the corresponding credentials collection.
Parameters
Returns
Promise<object>
An object containing:
collection: The collection that the NFT belongs to, including the credential metadata.nft: The NFT with its metadata.
collection
collection: CredentialsCollection
nft
nft:NftWithMetadata=vcNft

