sdk.hotwallet.signtransaction
Home > @blaze-cardano/sdk > HotWallet > signTransaction
HotWallet.signTransaction() method
Requests a transaction signature from the wallet.
Signature:
signTransaction(tx: Transaction, partialSign?: boolean, signWithStakeKey?: boolean): Promise<TransactionWitnessSet>;
Parameters
Parameter |
Type |
Description |
---|---|---|
tx |
The transaction to sign. | |
partialSign |
boolean |
(Optional) Whether to partially sign the transaction. |
signWithStakeKey |
boolean |
(Optional) Whether to also sign the transaction with the stake key. |
Returns:
Promise<TransactionWitnessSet>
{Promise