@did-btc1/method / BitcoinSigner
Interface: BitcoinSigner
Defined in: packages/method/src/btc1/key-manager/interface.ts:121
Methods
signTransaction()
> signTransaction(txHex
, keyUri?
): Promise
<Hex
>
Defined in: packages/method/src/btc1/key-manager/interface.ts:128
Signs a Bitcoin transaction with a key pair.
Parameters
txHex
Hex
The hex-encoded transaction to sign.
keyUri?
string
The URI of the key to sign the transaction with.
Returns
Promise
<Hex
>
A promise that resolves to the hex-encoded signed transaction.