Function: signTransaction

Function: signTransaction()

signTransaction(transactionId): Promise< void >

Description

Sign a transaction using the given transaction ID.

As part of this process, the mobile app and Fordefi servers run an MPC protocol that signs the transaction. The transaction must have been previously created using a call to the Create Transaction REST API.

Throws

FordefiSdkErrorResult

Parameters

ParameterTypeDescription
transactionIdstringThe ID of the transaction to sign.

Returns

Promise< void >

A Promise that resolves when the signing operation is successful.