Please describe the feature you’d like to see added.
We would like to be able to send untrusted utxos via the sendtoaddress API.
Currently, we have to go through the createrawtransaction flow to achieved this.
While I understand why it may be a sane default to have not to allow that, there is also very good reasons. Bitcoin Core may assume that a coin is “untrusted” because it is unconfirmed and is not change, but it doesn’t know that this coins is actually coming from a separate wallet that is also owned by the receiver.
Is your feature related to a problem, if so please describe it.
No response
Describe the solution you’d like
A config that allows to send untrusted utxos via the sendtoaddress api. Otherwise, always allow sending untrusted utxos via the sendtoaddress api by default.
Describe any alternatives you’ve considered
The create raw transaction flow. However we prefer relying on the sendtoaddress flow we currently use.
Please leave any additional context
No response