Function signMultiSignatureTransactionWithPrivateKey

  • Signs a multi-signature transaction.

    Example

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

    See

    Returns

    The signed multi-signature transaction.

    Parameters

    • 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