Function signMultisigTransaction

  • signMultisigTransaction takes a raw transaction (see signTransaction), a multisig preimage, a secret key, and returns a multisig transaction, which is a blob representing a transaction and multisignature account preimage. The returned multisig txn can accumulate additional signatures through mergeMultisigTransactions or appendSignMultisigTransaction.

    Returns

    object containing txID, and blob of partially signed multisig transaction (with multisig preimage information) If the final calculated fee is lower than the protocol minimum fee, the fee will be increased to match the minimum.

    Parameters

    • txn: TransactionLike

      object with either payment or key registration fields

    • __namedParameters: MultisigMetadata
    • sk: Uint8Array

      Algorand secret key. The corresponding pk should be in the pre image.

    Returns { blob: Uint8Array; txID: string }

    • blob: Uint8Array
    • txID: string

Generated using TypeDoc