Skip to main content

BasicOutputInterface

type BasicOutputInterface

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

type BasicOutputInterface interface {
// IOTA balance held by the output, in nanos.
Balance() uint64
ExpirationUc() **ExpirationUnlockCondition
// The object's ID.
Id() *ObjectId
Metadata() *[]byte
// Object ID of the `Bag` of native tokens. Use the GraphQL client to
// list dynamic fields if you need to enumerate the tokens.
NativeTokensBagId() *ObjectId
Sender() **Address
StorageDepositReturnUc() **StorageDepositReturnUnlockCondition
Tag() *[]byte
TimelockUc() **TimelockUnlockCondition
}