code: @Override
      public Transaction makeTransaction(byte[] payloadBytes, int offset, int length, byte[] hashFromHeader)
              throws ProtocolException {
          return new Transaction(params, payloadBytes, offset, null, this, length, hashFromHeader);
      }
docs: Make a transaction from the payload. Extension point for alternative
  serialization format support.