Transaction creation, signing and broadcast should be done by individual methods. This will enable more use cases and user journeys for apps.
Once a transaction is created it should be available to the app to store or sign later.
A signed transaction should also be available to the app to store or broadcast as per use case or user journey.
The following methods will add the required granularity:
createTx: Create a bitcoin transaction
signTx: Sign an existing bitcoin transaction and returned the signed transaction for future use
broadcastTx: Broadcast a bitcoin transaction that was signed earlier using signTx
quickSend: create, sign and broadcast. This can be used when there is no need to save a unsigned or signed transaction
Transaction creation, signing and broadcast should be done by individual methods. This will enable more use cases and user journeys for apps. Once a transaction is created it should be available to the app to store or sign later. A signed transaction should also be available to the app to store or broadcast as per use case or user journey.
The following methods will add the required granularity:
createTx
: Create a bitcoin transactionsignTx
: Sign an existing bitcoin transaction and returned the signed transaction for future usebroadcastTx
: Broadcast a bitcoin transaction that was signed earlier using signTx