AssetName

scalus.cardano.ledger.AssetName
See theAssetName companion object
final case class AssetName(bytes: ByteString)

Represents an asset name in Cardano's multi-asset framework

Asset names can be between 0 and 32 bytes long.

Attributes

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

Members list

Value members

Concrete methods

def asString: String

Convert to ASCII string if possible, otherwise returns hex representation

Convert to ASCII string if possible, otherwise returns hex representation

Attributes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product