Skip to main content

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 On-chain NFT service for VC operations: burn checks, token URIs, and contract metadata URIs.
class CrossmintNftService

Constructors

CrossmintNftService

CrossmintNftService({CrossmintVcConfig? config})

Methods

isBurnt

Future<bool> isBurnt(CrossmintVcNft nft)
Returns true if the NFT has been burned (owner is the zero address).

getNftUri

Future<String> getNftUri(CrossmintVcNft nft)
Reads tokenURI(tokenId) from the ERC-721 contract.

getContractUri

Future<String?> getContractUri(
  String contractAddress,
  CrossmintVcChain chain,
)
Reads contractURI() from an ERC-7572 contract.