Anchor

scalus.cardano.ledger.Anchor
case class Anchor(url: String, dataHash: Hash32)

Represents an anchor in the Cardano blockchain.

An anchor contains a URL and a data hash that can be used to verify the data retrieved from the URL.

Value parameters

dataHash

A 32-byte hash of the data

url

The URL where the data can be retrieved

Attributes

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

Members list

Value members

Concrete methods

override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product