NFT class

Constructors

NFT.new(String contractAddress, String providerUrl, [String? signerPrivateKey])

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

approve(String operator, BigInt tokenId) Future
balanceOf(String owner) Future
burn(BigInt tokenId) Future
claim(String receiver, BigInt quantity, String currency, BigInt pricePerToken, Map<String, dynamic> allowlistProof, String data) Future
claimCondition() Future
contractType() Future
contractURI() Future
contractVersion() Future
DEFAULT_ADMIN_ROLE() Future
encryptDecrypt(String data, String key) Future
encryptedData(BigInt input) Future
getActiveClaimConditionId() Future
getApproved(BigInt tokenId) Future
getBaseURICount() Future
getBatchIdAtIndex(BigInt index) Future
getClaimConditionById(BigInt conditionId) Future
getDefaultRoyaltyInfo() Future
getPlatformFeeInfo() Future
getRevealURI(BigInt batchId, String key) Future
getRoleAdmin(String role) Future
getRoleMember(String role, BigInt index) Future
getRoleMemberCount(String role) Future
getRoyaltyInfoForToken(BigInt tokenId) Future
getSupplyClaimedByWallet(BigInt conditionId, String claimer) Future
grantRole(String role, String account) Future
hasRole(String role, String account) Future
hasRoleWithSwitch(String role, String account) Future
isApprovedForAll(String owner, String operator) Future
isEncryptedBatch(BigInt batchId) Future
isTrustedForwarder(String forwarder) Future
lazyMint(BigInt amount, String baseURIForTokens, String data) Future
maxTotalSupply() Future
multicall(List<String> data) Future
name() Future
nextTokenIdToClaim() Future
nextTokenIdToMint() Future
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
operatorRestriction() Future
owner() Future
ownerOf(BigInt tokenId) Future
primarySaleRecipient() Future
renounceRole(String role, String account) Future
reveal(BigInt index, String key) Future
revokeRole(String role, String account) Future
royaltyInfo(BigInt tokenId, BigInt salePrice) Future
safeTransferFrom(String from, String to, BigInt tokenId, [String? data]) Future
setApprovalForAll(String operator, bool approved) Future
setClaimConditions(List<Map<String, dynamic>> conditions, bool resetClaimEligibility) Future
setContractURI(String uri) Future
setDefaultRoyaltyInfo(String royaltyRecipient, BigInt royaltyBps) Future
setMaxTotalSupply(BigInt maxTotalSupply) Future
setOperatorRestriction(bool restriction) Future
setOwner(String newOwner) Future
setPlatformFeeInfo(String platformFeeRecipient, BigInt platformFeeBps) Future
setPrimarySaleRecipient(String saleRecipient) Future
setRoyaltyInfoForToken(BigInt tokenId, String recipient, BigInt bps) Future
subscribeToRegistry(String subscription) Future
supportsInterface(String interfaceId) Future
symbol() Future
tokenURI(BigInt tokenId) Future
toString() String
A string representation of this object.
inherited
totalMinted() Future
totalSupply() Future
transferFrom(String from, String to, BigInt tokenId) Future
verifyClaim(BigInt conditionId, String claimer, BigInt quantity, String currency, BigInt pricePerToken, Map<String, dynamic> allowlistProof) Future

Operators

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