Sign PartiallySignedTransaction on the device. Calls <command> ‐‐stdin ‐‐fingerprint <fingerprint> ‐‐chain <chain> and passes the signtx command and PSBT via stdin.

Synopsis

Declared in <external_signer.h>

bool
SignTransaction(
    PartiallySignedTransaction& psbt,
    std::string& error);

Return Value

true if the device signed the transaction successfully.

Parameters

Name

Description

psbt [inout]

PartiallySignedTransaction to be signed

error [out]

set to a human‐readable message when signing fails

Created with MrDocs