wallet.cip30interface.signtx
Home > @blaze-cardano/wallet > CIP30Interface > signTx
CIP30Interface.signTx() method
Requests a user's signature for the unsigned portions of a transaction.
Signature:
signTx(tx: string, partialSign: boolean): Promise<string>;
Parameters
Parameter |
Type |
Description |
---|---|---|
tx |
string |
The transaction CBOR to sign |
partialSign |
boolean |
Whether a partial signature is permitted. If true, the wallet signs what it can. If false, the wallet must sign the full transaction. |
Returns:
Promise<string>
{Promise