Function signMultiSignatureTransaction

  • Signs a multi-signature transaction.


     import { signMultiSignatureTransaction } from '@liskhq/lisk-transactions';
    const signedTransaction = signMultiSignatureTransaction(unsignedTrx, chainID, privateKey, keys, paramsSchema, true);


    The signed multi-signature transaction.



    • transactionObject: Record<string, unknown>

      The unsigned multi-signature transaction object.

    • chainID: Buffer

      The chain ID of the chain to which the transaction belongs.

    • privateKey: Buffer

      The private key of the sender of the transaction.

    • keys: MultiSignatureKeys

      Mandatory and optional keys to sign the transaction.

    • Optional paramsSchema: object

      The schema for the params of the transaction.

    Returns Record<string, unknown>

Generated using TypeDoc