sdk.txbuilder.preparecollateral
Home > @blaze-cardano/sdk > TxBuilder > prepareCollateral
TxBuilder.prepareCollateral() method
Prepares the collateral for the transaction by selecting suitable UTXOs. Throws an error if suitable collateral cannot be found or if some inputs cannot be resolved.{boolean}
Signature:
protected prepareCollateral({ useCoinSelection }?: UseCoinSelectionArgs): void;
Parameters
Parameter |
Type |
Description |
---|---|---|
{ useCoinSelection } |
UseCoinSelectionArgs |
(Optional) |
Returns:
void