sdk.coinselectionfunc
Home > @blaze-cardano/sdk > CoinSelectionFunc
CoinSelectionFunc type
The coin selection function to choose which inputs to use for the transaction.
Signature:
type CoinSelectionFunc = (inputs: TransactionUnspentOutput[], collectedAssets: Value, preliminaryFee?: number, externalAssets?: Value, coinsPerUtxoByte?: number) => SelectionResult;
References: TransactionUnspentOutput, SelectionResult