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(params?: UseCoinSelectionArgs): void;
Parameters
| Parameter | Type | Description | 
|---|---|---|
| params | UseCoinSelectionArgs | (Optional) | 
Returns:
void