TxInfo

scalus.cardano.onchain.plutus.v1.TxInfo
See theTxInfo companion object
case class TxInfo(inputs: List[TxInInfo], outputs: List[TxOut], fee: Value, mint: Value, dcert: List[DCert], withdrawals: List[(StakingCredential, BigInt)], validRange: PosixTimeRange, signatories: List[PubKeyHash], data: List[(DatumHash, Datum)], id: TxId)

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

Extension method from TxInfo

Finds an input by its out reference.

Finds an input by its out reference.

Value parameters

outRef

The output reference to find.

Attributes

Returns

An Option containing the found input, or None if not found.

Extension method from TxInfo

Finds all outputs that match a given script hash.

Finds all outputs that match a given script hash.

Value parameters

scriptHash

The script hash to match against the outputs' addresses.

Attributes

Returns

A list of outputs that match the script hash.

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