Skip to main content

NftOutput

open class NftOutput : Disposable, AutoCloseable, NftOutputInterface

A typed view of an on-chain 0x107a::nft_output::NftOutput<IOTA> object.

Functions

NameSummary
balanceopen override fun balance(): ULong
close@Synchronized
open override fun close()
destroyopen override fun destroy()
expirationUcopen override fun expirationUc(): ExpirationUnlockCondition?
idopen override fun id(): ObjectId
The object's ID.
nativeTokensBagIdopen override fun nativeTokensBagId(): ObjectId
storageDepositReturnUcopen override fun storageDepositReturnUc(): StorageDepositReturnUnlockCondition?
timelockUcopen override fun timelockUc(): TimelockUnlockCondition?
toStringopen override fun toString(): String

Companion object functions

NameSummary
tryFromBcsfun tryFromBcs(bytes: ByteArray): NftOutput
Decode from BCS bytes, without validating the on-chain type tag.
tryFromObjectfun tryFromObject(object: Object): NftOutput
Decode from an on-chain object, validating its Move type tag.