SplitCoins
open class SplitCoins : Disposable, AutoCloseable, SplitCoinsInterface
Command to split a single coin object into multiple coins
BCS
The BCS serialized form of this type is specified in bcs-schema.abnf.
Constructors
| SplitCoins | constructor(coin: Argument, amounts: List<Argument>) |
Functions
| Name | Summary |
|---|---|
| amounts | open override fun amounts(): List<Argument> The amounts to split off |
| close | @Synchronized open override fun close() |
| coin | open override fun coin(): Argument The coin to split |
| destroy | open override fun destroy() |
| equals | open operator override fun equals(other: Any?): Boolean |
| 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): SplitCoins Create this type from BCS encoded bytes. |
| fromJson | fun fromJson(json: String): SplitCoins Create this type from a JSON encoded string. |