Transaction

scalus.cardano.ledger.Transaction
See theTransaction companion object
case class Transaction(body: KeepRaw[TransactionBody], witnessSet: TransactionWitnessSet, isValid: Boolean = ..., auxiliaryData: Option[KeepRaw[AuxiliaryData]] = ...)

Represents a complete transaction in Cardano

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 toCbor: Array[Byte]
def utxos: Utxos

Returns UTXOs that would be created by this transaction.

Returns UTXOs that would be created by this transaction.

Returns a map of TransactionInput -> TransactionOutput for all outputs, allowing them to be used as inputs in subsequent chained transactions.

Attributes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields

lazy val id: TransactionHash