TxInfo

scalus.cardano.onchain.plutus.v1.TxInfo
See theTxInfo companion class
object TxInfo

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
TxInfo.type

Members list

Type members

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 fields

lazy val sirDeps: List[SIRModuleWithDeps]
lazy val sirModule: Module

Extensions

Extensions

extension (self: 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.

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.