Utils
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Utils.type
Members list
Value members
Concrete methods
Finds a datum firstly in the datum map by its hash otherwise in the outputs.
Finds a datum firstly in the datum map by its hash otherwise in the outputs.
Value parameters
- datum
-
The map of datum hashes to datums.
- datumHash
-
The hash of the datum to find.
- outputs
-
The list of outputs to search in.
Attributes
- Returns
-
An
Optioncontaining the found datum, orNoneif not found.
Finds an input in the list of inputs by its out reference.
Finds an input in the list of inputs by its out reference.
Value parameters
- inputs
-
The list of inputs to search in.
- 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
- outputs
-
The list of outputs to search in.
- scriptHash
-
The script hash to match against the outputs' addresses.
Attributes
- Returns
-
A list of outputs that match the script hash.