UtxoEntry

scalus.testing.UtxoEntry
case class UtxoEntry(ada: Long, tx_id: Option[String] = ..., idx: Option[Int] = ..., datum: Option[Data] = ..., datum_cbor: Option[String] = ..., datum_hash: Option[String] = ...)

A single UTxO entry in the preconfiguration.

Value parameters

ada

lovelace amount

datum

optional inline datum as a JSON Data value (Plutus JSON schema)

datum_cbor

optional inline datum as a CBOR hex string; mutually exclusive with datum

datum_hash

optional datum hash hex; mutually exclusive with datum and datum_cbor

idx

optional output index; if absent, auto-assigned sequentially

tx_id

optional transaction hash hex; if absent, a genesis hash is used

Attributes

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

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product