scalus.cardano.onchain.plutus.v1.TxInfo
See theTxInfo companion class
object TxInfo
Attributes
Members list
Type members
Inherited and Abstract types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Mirror
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
Value members
Concrete fields
Givens
Givens
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
Optioncontaining the found input, orNoneif 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.
In this article