StakeAddress

scalus.cardano.address.StakeAddress
case class StakeAddress(network: Network, payload: StakePayload) extends Address

A decoded Stake address for delegation purposes

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Address
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def encode: Try[String]

Encode to appropriate string format

Encode to appropriate string format

Attributes

def hasScript: Boolean

Check if address contains scripts

Check if address contains scripts

Attributes

def hrp: Try[String]

Get human-readable prefix for bech32 encoding

Get human-readable prefix for bech32 encoding

Attributes

def isEnterprise: Boolean

Check if this is an enterprise address

Check if this is an enterprise address

Attributes

Get key hash if available

Get key hash if available

Attributes

def scriptHash: Option[ScriptHash]

Get script hash if available

Get script hash if available

Attributes

def toBech32: Try[String]

Encode to bech32 string

Encode to bech32 string

Attributes

Serialize to bytes

Serialize to bytes

Attributes

def toHeader: Byte

Build header byte

Build header byte

Attributes

def toHex: String

Convert to hex string

Convert to hex string

Attributes

def typeId: Byte

Get numeric type ID

Get numeric type ID

Attributes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product