function serializeTransactionRequest(type, features, objectStack, request) {
  pushSerializeAndPop(
    request,
    TRANSACTION_SERIALIZERS,
    makeSimpleNodeFactory(type),
    features,
    objectStack,
  );
}
@param {string} type Request type.
@param {Array<import("../Feature.js").default>} features Features.
@param {Array<*>} objectStack Object stack.
@param {Element} request Transaction Request.