PayAddress

data class PayAddress(var blockchain: ChainSelector, var type: PayAddressType, var data: ByteArray) : BCHserializable

Constructors

Link copied to clipboard
constructor(stream: BCHserialized)
constructor(address: String)
constructor(blockchain: ChainSelector, type: PayAddressType, data: ByteArray)

Properties

Link copied to clipboard

return the prefix for this address, e.g. "bchreg" in "bchreg:qpvdragqrmvashle90kjjx7hx87aq6xe75jlnlxc9c"

Link copied to clipboard
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
fun contentEquals(other: Any?): Boolean
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
fun fromString(address: String)
Link copied to clipboard

Create a grouped constraint script that corresponds to this address

Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard

synonym for outputScript()

Link copied to clipboard
open fun toByteArray(format: SerializationType = SerializationType.UNKNOWN): ByteArray
Link copied to clipboard
open override fun toString(): String