TransactionOutput

scalus.cardano.ledger.TransactionOutput
See theTransactionOutput companion trait

Attributes

Companion
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

final case class Babbage(address: Address, value: Value, datumOption: Option[DatumOption], scriptRef: Option[ScriptRef]) extends TransactionOutput

Babbage-era transaction output format with extended features

Babbage-era transaction output format with extended features

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class Shelley(address: Address, value: Value, datumHash: Option[DataHash]) extends TransactionOutput

Shelley-era transaction output format

Shelley-era transaction output format

Attributes

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

CBOR decoder for TransactionOutput

CBOR decoder for TransactionOutput

Attributes

Supertypes
trait Decoder[TransactionOutput]
class Object
trait Matchable
class Any
Self type

CBOR encoder for TransactionOutput

CBOR encoder for TransactionOutput

Attributes

Supertypes
trait Encoder[TransactionOutput]
class Object
trait Matchable
class Any
Self type

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def apply(address: Address, value: Value, datumOption: Option[DatumOption]): TransactionOutput

Creates a Babbage-era transaction output with the specified address, value, and optional datum.

Creates a Babbage-era transaction output with the specified address, value, and optional datum.

Value parameters

address

the destination address for this output

datumOption

optional datum associated with this output

value

the value (ADA and native tokens) contained in this output

Attributes

Returns

a new Babbage transaction output with no script reference

Givens

Givens

CBOR decoder for TransactionOutput

CBOR decoder for TransactionOutput

Attributes

CBOR encoder for TransactionOutput

CBOR encoder for TransactionOutput

Attributes