ShelleyAddress

scalus.cardano.address.ShelleyAddress
case class ShelleyAddress(network: Network, payment: ShelleyPaymentPart, delegation: ShelleyDelegationPart)

A decoded Shelley address containing network, payment and delegation parts

Attributes

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

Members list

Value members

Concrete methods

def hasScript: Boolean

Check if address contains any script hashes

Check if address contains any script hashes

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 (no delegation)

Check if this is an enterprise address (no delegation)

Attributes

def toBech32: Try[String]

Encode to bech32 string

Encode to bech32 string

Attributes

Serialize address to bytes

Serialize address to bytes

Attributes

def toHeader: Byte

Build header byte combining type ID and network

Build header byte combining type ID and network

Attributes

def toHex: String

Convert to hex string

Convert to hex string

Attributes

def typeId: Byte

Get numeric type ID for this address following CIP-19 specification

Get numeric type ID for this address following CIP-19 specification

Attributes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product