CrossmintNftService class

On-chain NFT service for VC operations: burn checks, token URIs, and contract metadata URIs.

Constructors

CrossmintNftService({CrossmintVcConfig? config})

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

getContractUri(String contractAddress, CrossmintVcChain chain) → Future<String?>
Reads contractURI() from an ERC-7572 contract.
getNftUri(CrossmintVcNft nft) → Future<String>
Reads tokenURI(tokenId) from the ERC-721 contract.
isBurnt(CrossmintVcNft nft) → Future<bool>
Returns true if the NFT has been burned (owner is the zero address).
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited