AllProvidedReferenceScripts
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
Members list
Value members
Concrete methods
Returns all reference scripts provided by transaction inputs and reference inputs as a non-distinct sequence.
Returns all reference scripts provided by transaction inputs and reference inputs as a non-distinct sequence.
Unlike allProvidedReferenceScripts, this method preserves duplicates. Each occurrence of a script in the UTxO set is counted separately, which is important for fee calculation where the same script referenced multiple times counts towards the minFee calculation for each reference.
Value parameters
- transaction
-
the transaction to analyze
- utxos
-
the UTxO set containing the referenced outputs
Attributes
- Returns
-
Either a
BadInputsUTxOExceptionorBadReferenceInputsUTxOExceptionif any input is missing from the UTxO set, or a sequence containing all reference scripts (with duplicates preserved)