Skip to main content
Version: 0.13.0

tx.txbuilder.providecollateral

Home > @blaze-cardano/tx > TxBuilder > provideCollateral

TxBuilder.provideCollateral() method

Adds unspent transaction outputs (UTxOs) to the set of collateral UTxOs available for this transaction. These UTxOs can then be used to provide collateral for the transaction, if necessary. If provided, they will b If there are specific, valid collateral UTxOs provided, Blaze will use them before using any other UTxO.

Signature:

provideCollateral(utxos: TransactionUnspentOutput[]): TxBuilder;

Parameters

Parameter

Type

Description

utxos

TransactionUnspentOutput[]

the UTxOs to add as collateral

Returns:

TxBuilder

{TxBuilder} The same transaction builder