Caravan Documentation
    Preparing search index...

    Function parseSignaturesFromPSBT

    • Extracts the signature(s) from a PSBT. NOTE: there should be one signature per input, per signer.

      ADDITIONAL NOTE: because of the restrictions we place on braids to march their multisig addresses (slices) forward at the same index across each chain of the braid, we do not run into a possible collision with this data structure. BUT - to have this method accommodate the most general form of signature parsing, it would be wise to wrap this one level deeper like:

                      address: [pubkey : [signature(s)]]
      

      that way if your braid only advanced one chain's (member's) index so that a pubkey could be used in more than one address, everything would still function properly.

      Parameters

      • psbtFromFile: any

      Returns null | {}