NftItem class

Represents an NFT item contract Initialize the provider to use

Implemented types
Implementers

Constructors

NftItem.new(InternalAddress address, [ContractInit? init])
Constructs an instance of the NftItem contract address — address of the contract init — optional initialization data for the contract's code and data

Properties

abi ContractABI?
getter/setter pairoverride
address InternalAddress
getter/setter pairoverride
hashCode int
The hash code for this object.
no setterinherited
init ContractInit?
getter/setter pairoverride
provider ContractProvider?
getter/setter pairoverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getNftData() Future<({InternalAddress? collectionAddress, BigInt index, Cell? individualContent, bool init, InternalAddress? ownerAddress})>
Returns the NFT data from the contract as a record, wrapped in a Future:
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendGetStaticData(Sender via, {required BigInt value, required BigInt queryId}) Future<void>
Returns nothing, sends static data from the contract
sendTransfer(Sender via, {required BigInt value, required BigInt queryId, required InternalAddress newOwner, required InternalAddress responseDestination, Cell? customPayload, required BigInt forwardAmount, Cell? forwardPayload}) Future<void>
Returns nothing, sends a transfer (internal message) from the contract
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

parseTransfer(Transaction tx) NftTransfer?
Returns a NftTransfer? from the parsed transaction tx