Closed ShookLyngs closed 7 months ago
- Do you prefer "transactionConfirmed" from the feature request as a better name for the option? Do you think "onlyConfirmedUtxos" is fine for now? Or do you have better naming suggestions? (validateInputs? filterConfirmedUtxos? requireConfirmedInputs? requireConfirmedUtxos? requireConfirmedInputs?)
onlyConfirmedUtxos
is good.
Changes
sendBtc
,sendUtxos
,sendRgbppUtxos
, and the BTC Builder APIs), and also validate inputs to check if each UTXO is confirmedDetails
Option
onlyConfirmedUtxos
in BTC APIsThis is a
boolean
option that tells the API to look for confirmed UTXOs when collecting inputs for construction and fee. If not enough confirmed UTXOs to construct the transaction, the API will throw an INSUFFICIENT_UTXO error.Discussion
Related issues