Skip to main content
Version: Next

sdk.core.utxoselectionerror._constructor_

Home > @blaze-cardano/sdk > Core > UTxOSelectionError > (constructor)

Core.UTxOSelectionError.(constructor)

Constructs a new instance of the UTxOSelectionError class

Signature:

constructor(phase: SelectionPhase, dearth: Value, availableInputs?: TransactionUnspentOutput[] | undefined, selectedInputs?: TransactionUnspentOutput[] | undefined, bestStep?: [bigint | number, Value, number] | undefined);

Parameters

Parameter

Type

Description

phase

SelectionPhase

dearth

Value

availableInputs

TransactionUnspentOutput[] | undefined

(Optional)

selectedInputs

TransactionUnspentOutput[] | undefined

(Optional)

bestStep

[bigint | number, Value, number] | undefined

(Optional)