StakeAddress

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

A decoded Stake address for delegation purposes

Attributes

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

Members list

Value members

Concrete methods

def hrp: Try[String]

Get human-readable prefix for bech32 encoding

Get human-readable prefix for bech32 encoding

Attributes

def isScript: Boolean

Check if this is a script stake address

Check if this is a script stake address

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