signTransaction returns TransactionBuilder

This commit is contained in:
Jim Hamill
2025-06-18 06:53:30 +00:00
parent 6a3e6ee090
commit 4cf729f244
5 changed files with 57 additions and 19 deletions
+2 -1
View File
@@ -1,3 +1,4 @@
import { type TransactionBuilder } from './transaction-builder.js';
import {
WalletUTXOs,
type InputTemplateBCH,
@@ -207,7 +208,7 @@ export abstract class BaseWallet<
*/
abstract signTransaction(
template: Partial<TransactionTemplate>,
): Promise<Uint8Array>;
): Promise<TransactionBuilder>;
/**
* Select UTXOs from this wallet to meet the amounts required and broadcast it to the Blockchain.