Skip to main content

BasicOutput

open class BasicOutput : Disposable, AutoCloseable, BasicOutputInterface

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

Functions

NameSummary
balanceopen override fun balance(): ULong
IOTA balance held by the output, in nanos.
close@Synchronized
open override fun close()
destroyopen override fun destroy()
expirationUcopen override fun expirationUc(): ExpirationUnlockCondition?
idopen override fun id(): ObjectId
The object's ID.
metadataopen override fun metadata(): ByteArray?
nativeTokensBagIdopen override fun nativeTokensBagId(): ObjectId
Object ID of the Bag of native tokens. Use the GraphQL client to list dynamic fields if you need to enumerate the tokens.
senderopen override fun sender(): Address?
storageDepositReturnUcopen override fun storageDepositReturnUc(): StorageDepositReturnUnlockCondition?
tagopen override fun tag(): ByteArray?
timelockUcopen override fun timelockUc(): TimelockUnlockCondition?
toStringopen override fun toString(): String

Companion object functions

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