TransferObjects
open class TransferObjects : Disposable, AutoCloseable, TransferObjectsInterface
Command to transfer ownership of a set of objects to an address
BCS
The BCS serialized form of this type is specified in bcs-schema.abnf.
Constructors
| TransferObjects | constructor(objects: List<Argument>, address: Argument) |
Functions
| Name | Summary |
|---|---|
| address | open override fun address(): Argument The address to transfer ownership to |
| close | @Synchronized open override fun close() |
| destroy | open override fun destroy() |
| equals | open operator override fun equals(other: Any?): Boolean |
| objects | open override fun objects(): List<Argument> Set of objects to transfer |
| toBcs | open override fun toBcs(): ByteArray Convert this type to BCS encoded bytes. |
| toDisplayString | open override fun toDisplayString(): String Render this type as human-readable text. |
| toJson | open override fun toJson(): String Convert this type to a JSON encoded string. |
| toString | open override fun toString(): String |
Companion object functions
| Name | Summary |
|---|---|
| fromBcs | fun fromBcs(bcs: ByteArray): TransferObjects Create this type from BCS encoded bytes. |
| fromJson | fun fromJson(json: String): TransferObjects Create this type from a JSON encoded string. |