Skip to main content
Version: Next

wallet.hotwallet.signtransaction

Home > @blaze-cardano/wallet > 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

Transaction

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} - The signed transaction.