Function appendSignMultisigTransactionWithSigner

  • appendSignMultisigTransactionWithSigner takes a multisig transaction blob, and appends the given signer's signature to it. While we could derive public key preimagery from the partially-signed multisig transaction, we ask the caller to pass it back in, to ensure they know what they are signing.

    As with signMultisigTransactionWithSigner, the signer's key is taken from the sgnr field of the transaction it returns, falling back to the transaction sender when sgnr is absent.

    Parameters

    • multisigTxnBlob: Uint8Array

      an encoded multisig txn. Supports non-payment txn types.

    • __namedParameters: MultisigMetadata
    • txnSigner: TransactionSigner

      the signer to sign with

    Returns Promise<{
        blob: Uint8Array;
        txID: string;
    }>

    an object with txID and blob properties

Generated using TypeDoc