GroupId

@Serializable
data class GroupId(var blockchain: ChainSelector, var data: ByteArray) : BCHserializable

Constructors

Link copied to clipboard
constructor(s: String)
constructor(blockchain: ChainSelector, data: ByteArray)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun BCHdeserialize(stream: BCHserialized): BCHserialized
Link copied to clipboard
open override fun BCHserialize(format: SerializationType): BCHserialized
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard

Returns true if this group is covenanted (grouped output script must = input script)

Link copied to clipboard

Returns true if this group is holding the native crypto rather than tokens

Link copied to clipboard

Returns true if this group is holding the native crypto rather than tokens

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun subgroup(subData: ByteArray): GroupId
Link copied to clipboard
Link copied to clipboard
open fun toByteArray(format: SerializationType = SerializationType.UNKNOWN): ByteArray
Link copied to clipboard
fun toHex(): String

convert to hex

Link copied to clipboard
open override fun toString(): String

convert to address format

Link copied to clipboard

convert to address format, without chainselector prefix