Skip to main content
Version: Next

sdk.blaze.signsubtransaction

Home > @blaze-cardano/sdk > Blaze > signSubTransaction

Blaze.signSubTransaction() method​

Signs a CIP-0118 sub-transaction using the wallet.

Signature:

signSubTransaction(subTx: SubTransaction): Promise<SubTransaction>;

Parameters​

Parameter

Type

Description

subTx

SubTransaction

The sub-transaction to sign.

Returns:

Promise<SubTransaction>

{Promise} - The signed sub-transaction.

Exceptions​

{Error} If the wallet can't sign sub-transactions. CIP-0118 is not live on mainnet; this API may change.