Shelley

scalus.cardano.ledger.TransactionOutput.Shelley
final case class Shelley(address: Address, value: Value, datumHash: Option[DataHash] = ...) extends TransactionOutput

Shelley-era transaction output format

Attributes

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

Members list

Value members

Concrete methods

def datumOption: Option[DatumOption]
override def scriptRef: Option[ScriptRef]

Attributes

Definition Classes
override def withValue(amount: Value): TransactionOutput

Creates a copy of this TransactionOutput with a new value

Creates a copy of this TransactionOutput with a new value

Attributes

Definition Classes

Inherited methods

def inlineDatum: Option[Data]

Get inline datum if present, None otherwise

Get inline datum if present, None otherwise

Attributes

Inherited from:
TransactionOutput
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Get inline datum, throwing if not present

Get inline datum, throwing if not present

Attributes

Inherited from:
TransactionOutput
def resolveDatum(tx: Transaction): Option[Data]

Resolve datum from output - either inline or by looking up hash in transaction witness set.

Resolve datum from output - either inline or by looking up hash in transaction witness set.

Value parameters

tx

The transaction containing the witness set with plutus data

Attributes

Returns

The resolved datum data, or None if no datum is present or if the hash is not found

Inherited from:
TransactionOutput