Skip to main content
Version: 0.2.38

sdk.cip30interface.signtx

Home > @blaze-cardano/sdk > 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} - The signed transaction's witness set, CBOR-encoded.