BasicOutput
open class BasicOutput : Disposable, AutoCloseable, BasicOutputInterface
A typed view of an on-chain 0x107a::basic_output::BasicOutput<IOTA> object.
Functions
| Name | Summary |
|---|---|
| balance | open override fun balance(): ULong IOTA balance held by the output, in nanos. |
| close | @Synchronized open override fun close() |
| destroy | open override fun destroy() |
| expirationUc | open override fun expirationUc(): ExpirationUnlockCondition? |
| id | open override fun id(): ObjectId The object's ID. |
| metadata | open override fun metadata(): ByteArray? |
| nativeTokensBagId | open 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. |
| sender | open override fun sender(): Address? |
| storageDepositReturnUc | open override fun storageDepositReturnUc(): StorageDepositReturnUnlockCondition? |
| tag | open override fun tag(): ByteArray? |
| timelockUc | open override fun timelockUc(): TimelockUnlockCondition? |
| toString | open override fun toString(): String |
Companion object functions
| Name | Summary |
|---|---|
| tryFromBcs | fun tryFromBcs(bytes: ByteArray): BasicOutput Decode from BCS bytes, without validating the on-chain type tag. |
| tryFromObject | fun tryFromObject(object: Object): BasicOutput Decode from an on-chain object, validating its Move type tag. |