Address

scalus.cardano.address.Address
See theAddress companion object
sealed trait Address

Base trait for all Cardano addresses

Provides common functionality and properties shared across different address types

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract 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 if available

Get human-readable prefix if available

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

Serialize to bytes

Serialize to bytes

Attributes

def toHex: String

Convert to hex string

Convert to hex string

Attributes

def typeId: Byte

Get type ID

Get type ID

Attributes