Documentation Index
Fetch the complete documentation index at: https://docs.crossmint.com/llms.txt
Use this file to discover all available pages before exploring further.
Class
Fetches and validates on-chain contract metadata (ERC-7572) for verifiable credential collections.
class CrossmintContractMetadataService
Constructors
CrossmintContractMetadataService({
required this.nftService,
this.documentLoader,
CrossmintVcConfig? config,
http.Client? httpClient,
})
Properties
nftService
final CrossmintNftService nftService
documentLoader
final CrossmintVcDocumentLoader? documentLoader
Methods
Future<CrossmintCredentialsCollection?> getCollectionMetadata(
String contractAddress,
CrossmintVcChain chain,
List<CrossmintVcNft> nfts,
)
Fetches contract metadata and validates it as a VC collection.